• [gentoo-user] sys-devel/llvm and LLVM_TARGETS

    From Dale@21:1/5 to All on Sat Mar 12 02:40:01 2022
    Howdy,

    I just noticed this in my updates:

    [ebuild U ] sys-devel/llvm-13.0.1:13::gentoo [13.0.0:13::gentoo] USE="binutils-plugin%* libffi ncurses xml -debug -doc -exegesis -libedit
    -test -xar -z3 (-gold%*)" ABI_X86="32 (64) (-x32)"
    LLVM_TARGETS="(AArch64*) (AMDGPU) (ARM*) (AVR*) (BPF) (Hexagon*)
    (Lanai*) (MSP430*) (Mips*) (NVPTX) (PowerPC*) (RISCV*) (Sparc*)
    (SystemZ*) (WebAssembly*) (X86) (XCore*) (-ARC) (-CSKY) (-M68k) (-VE)"

    The LLVM_TARGETS= part looks odd. Why do I need ARM, PowerPC, Sparc etc
    here? Is that correct? The old still installed version doesn't have
    those enabled.

    Thanks.

    Dale

    :-) :-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dale@21:1/5 to Michael on Sat Mar 12 09:50:01 2022
    Michael wrote:
    On Saturday, 12 March 2022 01:34:45 GMT Dale wrote:
    Howdy,

    I just noticed this in my updates:

    [ebuild U ] sys-devel/llvm-13.0.1:13::gentoo [13.0.0:13::gentoo]
    USE="binutils-plugin%* libffi ncurses xml -debug -doc -exegesis -libedit
    -test -xar -z3 (-gold%*)" ABI_X86="32 (64) (-x32)"
    LLVM_TARGETS="(AArch64*) (AMDGPU) (ARM*) (AVR*) (BPF) (Hexagon*)
    (Lanai*) (MSP430*) (Mips*) (NVPTX) (PowerPC*) (RISCV*) (Sparc*)
    (SystemZ*) (WebAssembly*) (X86) (XCore*) (-ARC) (-CSKY) (-M68k) (-VE)"

    The LLVM_TARGETS= part looks odd. Why do I need ARM, PowerPC, Sparc etc
    here? Is that correct? The old still installed version doesn't have
    those enabled.

    Thanks.

    Dale

    :-) :-)
    You don't need any of these targets in llvm and clang any more than I do. There's a bug which explains why these arch targets are now being forced, but I can't find it.


    That was my thinking when I saw it.  It just looked odd to me.  I found
    this bug.

    https://bugs.gentoo.org/767700

    Is that the one?  It mentions the target but I don't quite understand
    the why.  The biggest thing, will this break something if I let it do
    it?  I don't have any settings of my own on this package.  It was done
    by a dev, who I assume has a good reason for this. 

    Dale

    :-)  :-) 

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Mar 12 08:23:58 2022
    On Saturday, 12 March 2022 01:34:45 GMT Dale wrote:
    Howdy,

    I just noticed this in my updates:

    [ebuild U ] sys-devel/llvm-13.0.1:13::gentoo [13.0.0:13::gentoo] USE="binutils-plugin%* libffi ncurses xml -debug -doc -exegesis -libedit -test -xar -z3 (-gold%*)" ABI_X86="32 (64) (-x32)"
    LLVM_TARGETS="(AArch64*) (AMDGPU) (ARM*) (AVR*) (BPF) (Hexagon*)
    (Lanai*) (MSP430*) (Mips*) (NVPTX) (PowerPC*) (RISCV*) (Sparc*)
    (SystemZ*) (WebAssembly*) (X86) (XCore*) (-ARC) (-CSKY) (-M68k) (-VE)"

    The LLVM_TARGETS= part looks odd. Why do I need ARM, PowerPC, Sparc etc here? Is that correct? The old still installed version doesn't have
    those enabled.

    Thanks.

    Dale

    :-) :-)

    You don't need any of these targets in llvm and clang any more than I do. There's a bug which explains why these arch targets are now being forced, but
    I can't find it.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmIsWJ4ACgkQseqq9sKV Zxng5BAAxbt4UshL9R5GOONjyEVnFAp3DUPZBklkdD+7nx9e84v4CvCx6owM4e+z 3Laetk2p+j7KJPRMBqqQYEc7sOU6vjPaDtpy1bM+D3H5ZBjU+//lq0h8RZfdFU7+ TBwMoiLDNtUFlQ98lO+cLwU6scenGk6vYjDZKPgnMqeFSnAulNs/ZbTXuoJGmJJC ABaDUodn48RU5DAk+VLg8s1e0V3xKoGJVCfH6lYyAtW6OOn4Aj9srm5AIsw93k+l mqHRQVJps5X2/NZTZ9Thz7u/eQU44I5rW4g/BhQ9D8FG7muzYz4JyDpH+zsvL2S2 3M4iKJaRHI+5ug6OyxVUCeHLCs8CPzXtWvII31IKxe88wYR570sJgMTOlDQd/TML lMRevOm74DbtUBEiqg+nYQUZCFRt0Eclh/xMeJrurpJUcjm7kElLSUB47kZTCnEM iVVPPvvWZi68CGUbvNTpgFY+Kzi5qemaMMrDu3V799qERp5Mu00ZJYEbU9qbyfwl +Tc+hMyWWJNT6d6kvEm+g/t3/rfIEkozUkwqZ9McJxGojtu6SeZ/xiqtgwCgQ+HW g8AfiBfuys3OYQPN3OxZNSEF6UMIxIDvcF3AbrILYBfaVqB2OtyvLLYsEsAJ4LZ6 +WurXMkDgEtMEt0wOTIq403gXjVtu8OGkjG3X9kKCXiiKys3kPs=
    =E3DR
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Sat Mar 12 08:58:10 2022
    On Saturday, 12 March 2022 08:43:02 GMT Dale wrote:
    Michael wrote:
    On Saturday, 12 March 2022 01:34:45 GMT Dale wrote:
    Howdy,

    I just noticed this in my updates:

    [ebuild U ] sys-devel/llvm-13.0.1:13::gentoo [13.0.0:13::gentoo]
    USE="binutils-plugin%* libffi ncurses xml -debug -doc -exegesis -libedit >> -test -xar -z3 (-gold%*)" ABI_X86="32 (64) (-x32)"
    LLVM_TARGETS="(AArch64*) (AMDGPU) (ARM*) (AVR*) (BPF) (Hexagon*)
    (Lanai*) (MSP430*) (Mips*) (NVPTX) (PowerPC*) (RISCV*) (Sparc*)
    (SystemZ*) (WebAssembly*) (X86) (XCore*) (-ARC) (-CSKY) (-M68k) (-VE)"

    The LLVM_TARGETS= part looks odd. Why do I need ARM, PowerPC, Sparc etc >> here? Is that correct? The old still installed version doesn't have
    those enabled.

    Thanks.

    Dale

    :-) :-)

    You don't need any of these targets in llvm and clang any more than I do. There's a bug which explains why these arch targets are now being forced, but I can't find it.

    That was my thinking when I saw it. It just looked odd to me. I found
    this bug.

    https://bugs.gentoo.org/767700

    Is that the one? It mentions the target but I don't quite understand
    the why. The biggest thing, will this break something if I let it do
    it? I don't have any settings of my own on this package. It was done
    by a dev, who I assume has a good reason for this.

    Dale

    :-) :-)

    That's the one, yes. As I understand it unless all these targets are set sys- devel/lld breaks.
    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmIsYKIACgkQseqq9sKV ZxlSxBAAjyebLmpZqwQ7Paz3rmuqF8F8pe+iL4JR7nGTuws41PDrkWcyXiRFG6x9 Io7dZ/s/surgkkqAKAWoKnXe5LqLUa546sGoh+cW/jusmwJjjwmmQc0HsIYg76g7 qFU/de2OfE9TkABS7/eC/i7vXnYaLCMV2jLcPRpJgpaZk9QYuoyz70WPIBGJ4369 0eN3mPh6RdoDKE8FNTggvvySHF5dwoycv7pHPRO5YHpcjzg8hwEy/Qo98009pP0j 4rs3pYPzZR89xHp6egjsN7LaI9gQ26mvMvZHRsMLtGesAHgdIiqfg9Xdlwu7Zn4K MonZD5VzCRLjEO+3yLEEWWfcAbkD3WOjkRiPmcgsrX84nu5+pKarCcTjlD7rXAtc wMJ2vCks9PQxa8yNFk5MXY7vUP3NnV4sRUAzusaBiG4YOss3z1otzQ54hgwMPL3s TaOu3N/ki8Q/dP/ZIdKN1S/HmUnIAGDDJuZ3sJJdW9JeOc70Up/Xi0E19K11J8bJ /D/9/4AcWDP6G3jkEfQ5i6RsTFjAkH3IVvPVt6FHKFVsUX/u5A2k8gVHd/bBgjEH lJl2VLx/sZmDA89mV72nQmsXhecyG/vFQjJ/bCUVHPGvKUZT24KLvpECNYaDllr/ uH9JuYwgYHxZF9bS/qY+++618/Z2mKGkgRKgXJhvypGG/wc2Oq4=
    =MAsT
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)