!lymvtcwDJ7ZA9Npq:lix.systems

Lix Development

295 Members
(Technical) development of Lix, the package manager, a Nix implementation. Please be mindful of ongoing technical conversations in this channel.104 Servers

Load older messages


SenderMessageTime
22 Dec 2024
@jade_:matrix.orgjade_
In reply to @k900:0upti.me
This is in libcxx somewhere
let me look in libstdcxx since it is linux
04:51:10
@jade_:matrix.orgjade_and uhhh our support in nixpkgs for building with real libcxx on linux is 🤡 for basically no reason04:51:43
@jade_:matrix.orgjade_actually this might be rust04:54:56
@jade_:matrix.orgjade_i don't know why it is in rust though04:55:02
@jade_:matrix.orgjade_UMMMM https://github.com/llvm/llvm-project/blob/8df4e60945fa9efdeab1a2fa2a5cdf22ea9c9112/lld/test/ELF/gc-sections-strip-debug.s#L1-L1704:57:19
@jade_:matrix.orgjade_okay so this is in the llvm testsuite, what would possibly cause this to be bork?04:57:53
@jade_:matrix.orgjade_ * okay so this is in the llvm testsuite, what would possibly cause this to be bork and allow llvm to release it?04:58:01
@jade_:matrix.orgjade_okay i am pretttty sure this is llvm's bug05:00:18
@jade_:matrix.orgjade_being as they are the only ones with the "'%<type>'" string in errors05:00:34
@jade_:matrix.orgjade_
In reply to @k900:0upti.me
https://github.com/llvm/llvm-project/issues/24438
this is almost certainly not true since there is a popsection implementation. however, i have filed a bug against clang because that diagnostic is an atrocity: https://github.com/llvm/llvm-project/issues/120870
05:12:21
@jade_:matrix.orgjade_uhhhhhhhhhhhhh05:19:00
@jade_:matrix.orgjade_clang 19 regression?05:19:03
@jade_:matrix.orgjade_currently downloading clang 19 to try to minimal repro againstg05:19:16
@jade_:matrix.orgjade_ likely it would be fixed for us if we used -no-integrated-as btw 05:19:48
@jade_:matrix.orgjade_ze fuck, still works05:20:17
@jade_:matrix.orgjade_https://github.com/termux/termux-packages/blob/d65e2cdc22c3ccb9735a402d7854bf3cd4504659/packages/valgrind/build.sh#L29-L35 hmmmmmmmmmm05:22:08
@jade_:matrix.orgjade_ Yureka (she/her): this looks like a smoking gun that this is an arm issue 05:22:21
@jade_:matrix.orgjade_as for what caused it to blow up in your face, idk05:22:30
@jade_:matrix.orgjade_
~ » armv7l-unknown-linux-gnueabihf-cc test.c
<inline asm>:1:41: error: expected '%<type>' or "<type>"
    1 | .pushsection ".debug_gdb_scripts", "MS",@progbits,1
      |                                         ^
<inline asm>:4:12: error: .popsection without corresponding .pushsection
    4 | .popsection
      |            ^
2 errors generated.
~ » armv7l-unknown-linux-gnueabihf-cc -no-integrated-as test.c

bingo

05:23:23
@jade_:matrix.orgjade_filing a llvm bug05:32:42
@jade_:matrix.orgjade_https://github.com/llvm/llvm-project/issues/120871 alright, here's bug number two05:46:34
@jade_:matrix.orgjade_i think this should be a satisfactory amount of complaining ^^05:46:48
@jade_:matrix.orgjade_still wondering what the actual cause is tbh05:47:25
@jade_:matrix.orgjade_like, who is putting that code into our build in the first place?05:47:35
@jade_:matrix.orgjade_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaand the wheel spins and it lands on BOOST https://github.com/boostorg/json/blob/7f0bceb81280df758c7b4a7cacf8779351ebcc53/include/boost/json/detail/config.hpp#L236-L23805:55:47
@jade_:matrix.orgjade_(the way i found this was by github search, not by doing anything to actually find out with strict correctness: https://github.com/search?q=%22.pushsection%22+AND+%22.debug_gdb_scripts%22&type=code)05:58:33
@jade_:matrix.orgjade_(okay it was probably boost outcome? https://github.com/boostorg/outcome/blob/a3686af224a86dfcf5f12aeb039502bae82d2a6b/include/boost/outcome/experimental/status-code/status_code.hpp#L725) 05:59:37
@jade_:matrix.orgjade_complaints have been fired in hopefully enough directions for someone to care about fixing this properly; our interim solution should be -no-integrated-as on arm platforms, i think06:11:13
@jade_:matrix.orgjade_or we could patch boost in nixpkgs using this methodology that fixed it elsewhere: https://github.com/ned14/outcome/pull/308/files06:25:25
@jade_:matrix.orgjade_either way06:25:26

Show newer messages


Back to Room ListRoom Version: 10