2025-07-19 00:00:24 +0200 | jespada | (~jespada@2800:a4:2237:6f00:906c:6880:7959:ffe5) jespada |
2025-07-19 00:02:16 +0200 | biberu | (~biberu@user/biberu) (Quit: ZNC - https://znc.in) |
2025-07-19 00:02:53 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Read error: Connection reset by peer) |
2025-07-19 00:05:09 +0200 | jespada | (~jespada@2800:a4:2237:6f00:906c:6880:7959:ffe5) (Ping timeout: 248 seconds) |
2025-07-19 00:08:30 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 276 seconds) |
2025-07-19 00:11:05 +0200 | phma | (~phma@host-67-44-208-39.hnremote.net) |
2025-07-19 00:18:09 +0200 | jespada | (~jespada@2800:a4:2237:6f00:e1b5:dc67:da03:f319) jespada |
2025-07-19 00:21:50 +0200 | target_i | (~target_i@user/target-i/x-6023099) (Quit: leaving) |
2025-07-19 00:22:52 +0200 | __monty__ | (~toonn@user/toonn) (Quit: leaving) |
2025-07-19 00:26:35 +0200 | jespada | (~jespada@2800:a4:2237:6f00:e1b5:dc67:da03:f319) (Ping timeout: 244 seconds) |
2025-07-19 00:27:54 +0200 | ezzieyguywuf | (~Unknown@user/ezzieyguywuf) (Ping timeout: 260 seconds) |
2025-07-19 00:30:00 +0200 | amadaluzia | (~amadaluzi@user/amadaluzia) (Quit: ZNC 1.10.0 - https://znc.in) |
2025-07-19 00:30:22 +0200 | Leary | (~Leary@user/Leary/x-0910699) (Remote host closed the connection) |
2025-07-19 00:31:45 +0200 | trickard | (~trickard@cpe-63-98-47-163.wireline.com.au) (Ping timeout: 248 seconds) |
2025-07-19 00:32:06 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) |
2025-07-19 00:33:29 +0200 | Leary | (~Leary@user/Leary/x-0910699) Leary |
2025-07-19 00:37:26 +0200 | jespada | (~jespada@2800:a4:2237:6f00:3c44:fb9a:7dde:d003) jespada |
2025-07-19 00:41:57 +0200 | jespada | (~jespada@2800:a4:2237:6f00:3c44:fb9a:7dde:d003) (Ping timeout: 248 seconds) |
2025-07-19 00:43:02 +0200 | trickard_ | trickard |
2025-07-19 00:52:32 +0200 | jespada | (~jespada@2800:a4:2237:6f00:203a:2d8d:6f29:bfd2) jespada |
2025-07-19 00:56:49 +0200 | jespada | (~jespada@2800:a4:2237:6f00:203a:2d8d:6f29:bfd2) (Ping timeout: 248 seconds) |
2025-07-19 01:08:26 +0200 | <koala_man> | oooooh, I just built a linux x86_64 ghc 9.12.2 targeting linux aarch64 and it was a lot less hacky than it's been for years |
2025-07-19 01:24:54 +0200 | emmanuelux | (~emmanuelu@user/emmanuelux) emmanuelux |
2025-07-19 01:37:27 +0200 | jespada | (~jespada@2800:a4:2237:6f00:91b:298a:b6e0:6f36) jespada |
2025-07-19 01:38:44 +0200 | ljdarj1 | (~Thunderbi@user/ljdarj) ljdarj |
2025-07-19 01:38:51 +0200 | dhil | (~dhil@5.151.29.139) (Ping timeout: 276 seconds) |
2025-07-19 01:40:21 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-07-19 01:41:27 +0200 | ljdarj | (~Thunderbi@user/ljdarj) (Ping timeout: 276 seconds) |
2025-07-19 01:41:27 +0200 | ljdarj1 | ljdarj |
2025-07-19 01:42:09 +0200 | jespada | (~jespada@2800:a4:2237:6f00:91b:298a:b6e0:6f36) (Ping timeout: 248 seconds) |
2025-07-19 01:44:53 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Client Quit) |
2025-07-19 01:45:14 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-07-19 01:46:39 +0200 | notzmv | (~umar@user/notzmv) (Ping timeout: 276 seconds) |
2025-07-19 01:46:47 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) |
2025-07-19 01:49:22 +0200 | sprotte24 | (~sprotte24@p200300d16f13150010a1034e13842892.dip0.t-ipconnect.de) (Quit: Leaving) |
2025-07-19 01:50:43 +0200 | weary-traveler | (~user@user/user363627) user363627 |
2025-07-19 01:52:15 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Read error: Connection reset by peer) |
2025-07-19 01:56:40 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) |
2025-07-19 01:59:59 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Read error: Connection reset by peer) |
2025-07-19 02:02:10 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 276 seconds) |
2025-07-19 02:07:50 +0200 | <koala_man> | blerk, celebrated too soon. The compiler could build a basic binary but fails to build anything with cabal |
2025-07-19 02:10:19 +0200 | <geekosaur> | it would not surprise me if we currently have some conflation of arch with platform: I caught one when Serge was adding Windows AArch64 support |
2025-07-19 02:10:25 +0200 | <geekosaur> | so there are likely others |
2025-07-19 02:11:17 +0200 | <geekosaur> | if you think you are tripping over some, please file Cabal bugs |
2025-07-19 02:11:33 +0200 | acidjnk_new3 | (~acidjnk@p200300d6e70b6693a5441e99b23fb06c.dip0.t-ipconnect.de) (Ping timeout: 248 seconds) |
2025-07-19 02:11:48 +0200 | <geekosaur> | (hm, more correctly I caught him trying to add one and asked him what would happen on Apple Silicon) |
2025-07-19 02:12:50 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-07-19 02:15:49 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) |
2025-07-19 02:16:21 +0200 | <koala_man> | it's failing because it's invoking the host assembler on a target assembly file |
2025-07-19 02:17:33 +0200 | <geekosaur> | oh. I don't know if we support cross-compilation that well |
2025-07-19 02:17:41 +0200 | <geekosaur> | might ask over in #hackage |
2025-07-19 02:18:27 +0200 | <geekosaur> | although at this time of evening (night for most of the crew) and heading into the weekend, you probably won't get much of an answer until around 0830UTC-ish Monday |
2025-07-19 02:19:06 +0200 | ttybitnik | (~ttybitnik@user/wolper) (Quit: Fading out...) |
2025-07-19 02:23:47 +0200 | <koala_man> | I should probably just emulate the whole aarch64 userspace |
2025-07-19 02:24:17 +0200 | weary-traveler | (~user@user/user363627) (Remote host closed the connection) |
2025-07-19 02:28:46 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Read error: Connection reset by peer) |
2025-07-19 02:41:21 +0200 | <koala_man> | at the risk of jinxing it again, it appeared that /usr/local/lib/aarch64-linux-gnu-ghc-9.12.2/lib/settings had ("C compiler command", "gcc") and such, and if I update it to aarch64-linux-gnu-gcc cabal at least succeeded installing a bunch of packages |
2025-07-19 02:42:02 +0200 | trickard | (~trickard@cpe-63-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-07-19 02:42:16 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) |
2025-07-19 02:42:56 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 265 seconds) |
2025-07-19 02:43:48 +0200 | phma | (~phma@host-67-44-208-39.hnremote.net) (Read error: Connection reset by peer) |
2025-07-19 02:44:24 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) |
2025-07-19 02:44:46 +0200 | phma | (phma@2001:5b0:211b:d0a8:5872:6174:f4b6:2963) |
2025-07-19 02:47:32 +0200 | <geekosaur> | that sounds like you need to adjust how you're configuring your cross-compiler |
2025-07-19 02:49:16 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Ping timeout: 252 seconds) |
2025-07-19 02:49:16 +0200 | Tuplanolla | (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Ping timeout: 252 seconds) |
2025-07-19 02:49:53 +0200 | <geekosaur> | this should be part of the bindist `confgure`; if you're having `hadrian` do that, you may need to split it out so you can configure it with the right cross-utilities |
2025-07-19 02:51:49 +0200 | jespada | (~jespada@2800:a4:2237:6f00:7121:3b2b:1efd:451) jespada |
2025-07-19 02:56:38 +0200 | jespada | (~jespada@2800:a4:2237:6f00:7121:3b2b:1efd:451) (Ping timeout: 272 seconds) |
2025-07-19 02:56:57 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) |
2025-07-19 02:59:06 +0200 | <koala_man> | geekosaur: I'm doing ./configure --host x86_64-linux-gnu --build x86_64-linux-gnu --target aarch64-linux-gnu, shouldn't that be enough? |
2025-07-19 02:59:39 +0200 | <geekosaur> | I don't think that's enough to tell it which binaries to use for `GCC` etc. |
2025-07-19 03:00:07 +0200 | <geekosaur> | also that looks like the main configure, not the bindist |
2025-07-19 03:00:17 +0200 | <koala_man> | I didn't know there rwas a difference |
2025-07-19 03:02:04 +0200 | <geekosaur> | `hadrian` builds a cross-compiler and some wrappers to run it. but those wrappers don't really understand cross-compilers and will generally use host headers, libraries, and utilities |
2025-07-19 03:02:12 +0200 | jespada | (~jespada@2800:a4:2237:6f00:44a1:1043:513:768b) jespada |
2025-07-19 03:02:25 +0200 | <koala_man> | I'm doing "./hadrian/build --flavour=quickest --bignum=native -V -j install --prefix=/usr/local". is bindist the one that builds a binary package for installation elsewhere instead of installing directly? |
2025-07-19 03:02:46 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-07-19 03:03:00 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) |
2025-07-19 03:03:07 +0200 | <geekosaur> | if you tell hadrian to make a bindist, you will get a (unpacked or packed) bindist which can be installed, but it has its own `configure` that constructs the `settings` file based on what tools it finds on the system. it's not smart so it will find _host_ utilities and headers |
2025-07-19 03:03:57 +0200 | <geekosaur> | oh, also I think if ghc runs things directly it passes target args, but cabal doesn't know it needs to do that when it digs the invocations out of ghc's settings file |
2025-07-19 03:04:54 +0200 | <geekosaur> | so that would explain why ghc can build stuff itself but cabal trying to do the same will use host instead of target stuff |
2025-07-19 03:05:03 +0200 | <koala_man> | I do specify --with-compiler=aarch64-linux-gnu-ghc for cabal |
2025-07-19 03:05:31 +0200 | <geekosaur> | that's not enough, for some things cabal runs gcc directly and gets the invocation from ghc's settings file |
2025-07-19 03:05:45 +0200 | <geekosaur> | which doesn't have a target, as you found |
2025-07-19 03:05:56 +0200 | ski | (~ski@remote11.chalmers.se) (Server closed connection) |
2025-07-19 03:06:05 +0200 | <geekosaur> | (specifically I know it does it for "C compiler command") |
2025-07-19 03:06:10 +0200 | ski | (~ski@remote11.chalmers.se) |
2025-07-19 03:06:45 +0200 | Square2 | (~Square@user/square) (Ping timeout: 244 seconds) |
2025-07-19 03:06:57 +0200 | <geekosaur> | and yes, bindist is for when yiou buid something to install elsewhere |
2025-07-19 03:06:58 +0200 | jespada | (~jespada@2800:a4:2237:6f00:44a1:1043:513:768b) (Ping timeout: 248 seconds) |
2025-07-19 03:07:21 +0200 | <geekosaur> | it's generally easiest as you can force the installed bindist to use target utilities instead of host |
2025-07-19 03:08:26 +0200 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) (Remote host closed the connection) |
2025-07-19 03:08:48 +0200 | <geekosaur> | and they go into the settings file so cabal will also use them when it inspects ghc's settings to see how to compile stuff itself |
2025-07-19 03:11:21 +0200 | <koala_man> | do I run `./hadrian/build binary-dist`? I tried --help but didn't spot the flags to set the targets |
2025-07-19 03:11:25 +0200 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) humasect |
2025-07-19 03:12:10 +0200 | <geekosaur> | yes |
2025-07-19 03:14:28 +0200 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection) |
2025-07-19 03:16:34 +0200 | humasect | (~humasect@dyn-192-249-132-90.nexicom.net) (Ping timeout: 248 seconds) |
2025-07-19 03:17:38 +0200 | jespada | (~jespada@2800:a4:2237:6f00:3569:5753:cf2c:3fc0) jespada |
2025-07-19 03:22:13 +0200 | <koala_man> | you're right, build binary-dist does result in ("C compiler command", "aarch64-linux-gnu-gcc") |
2025-07-19 03:22:15 +0200 | jespada | (~jespada@2800:a4:2237:6f00:3569:5753:cf2c:3fc0) (Ping timeout: 244 seconds) |
2025-07-19 03:22:16 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) (Ping timeout: 252 seconds) |
2025-07-19 03:22:31 +0200 | <geekosaur> | :thumbs_up: |
2025-07-19 03:24:42 +0200 | <koala_man> | I haven't incorporated it yet, but manually kludging the settings file did result in successfully building an aarch64 version of shellcheck |
2025-07-19 03:24:53 +0200 | <koala_man> | high hopes |
2025-07-19 03:27:24 +0200 | caubert | (~caubert@user/caubert) (Ping timeout: 265 seconds) |
2025-07-19 03:37:04 +0200 | hakutaku | (~textual@user/hakutaku) hakutaku |
2025-07-19 03:39:33 +0200 | caubert | (~caubert@user/caubert) caubert |
2025-07-19 03:46:15 +0200 | caubert | (~caubert@user/caubert) (Ping timeout: 276 seconds) |
2025-07-19 03:51:11 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich |
2025-07-19 03:52:33 +0200 | werneta | (~werneta@syn-071-083-160-242.res.spectrum.com) werneta |
2025-07-19 03:55:44 +0200 | athan | (~athan@syn-047-132-161-157.res.spectrum.com) (Quit: Konversation terminated!) |
2025-07-19 04:03:48 +0200 | trickard_ | trickard |
2025-07-19 04:06:26 +0200 | a_fantom | (~fantom@33be818f.skybroadband.com) |
2025-07-19 04:10:13 +0200 | FANTOM | (~fantom@33be818f.skybroadband.com) (Ping timeout: 276 seconds) |
2025-07-19 04:10:25 +0200 | trickard | (~trickard@cpe-63-98-47-163.wireline.com.au) (Ping timeout: 248 seconds) |
2025-07-19 04:10:48 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) |
2025-07-19 04:13:16 +0200 | jmcantrell | (~weechat@user/jmcantrell) (Quit: WeeChat 4.6.3) |
2025-07-19 04:14:24 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-07-19 04:15:01 +0200 | jmcantrell | (~weechat@user/jmcantrell) jmcantrell |
2025-07-19 04:17:23 +0200 | caubert | (~caubert@user/caubert) caubert |
2025-07-19 04:21:39 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) |
2025-07-19 04:22:30 +0200 | jespada | (~jespada@2800:a4:2237:6f00:5439:8f18:1f45:ac09) jespada |
2025-07-19 04:26:50 +0200 | jespada | (~jespada@2800:a4:2237:6f00:5439:8f18:1f45:ac09) (Ping timeout: 244 seconds) |
2025-07-19 04:33:30 +0200 | td_ | (~td@i5387092F.versanet.de) (Ping timeout: 252 seconds) |
2025-07-19 04:35:31 +0200 | td_ | (~td@i5387093C.versanet.de) td_ |
2025-07-19 04:42:32 +0200 | jespada | (~jespada@2800:a4:2237:6f00:e89a:2bb2:1571:cf27) jespada |
2025-07-19 04:43:15 +0200 | Frostillicus | (~Frostilli@pool-71-174-119-69.bstnma.fios.verizon.net) |
2025-07-19 04:47:09 +0200 | jespada | (~jespada@2800:a4:2237:6f00:e89a:2bb2:1571:cf27) (Ping timeout: 265 seconds) |
2025-07-19 04:49:50 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-07-19 04:50:04 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) |
2025-07-19 04:51:41 +0200 | <koala_man> | geekosaur: sadly no. while the lib/settings file is correct in the resulting .xz file, ./configure and make install doesn't work: https://gist.github.com/koalaman/47af5b5d0105763a63328a4e5ab9b373 |
2025-07-19 04:52:28 +0200 | xal | (~xal@mx1.xal.systems) (Quit: bye) |
2025-07-19 04:53:03 +0200 | xal | (~xal@mx1.xal.systems) xal |
2025-07-19 04:53:03 +0200 | <koala_man> | I'm going back to my sed -e 's/"\(gcc\|g++\|ld\)"/"'"$TARGET"'-\1"/g' -i /usr/local/lib/aarch64-linux-gnu-ghc-*/lib/settings |
2025-07-19 04:53:13 +0200 | <geekosaur> | that looks like bugginess in the configure test, I bet it used host tools to make the test objects it fed to the target ld |
2025-07-19 04:53:24 +0200 | <geekosaur> | file a ghc bug |
2025-07-19 04:53:42 +0200 | <geekosaur> | (in the meantime, though, yes you probably need to massage the settings file by hand) |
2025-07-19 05:16:43 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) (Read error: Connection reset by peer) |
2025-07-19 05:16:57 +0200 | trickard_ | (~trickard@cpe-63-98-47-163.wireline.com.au) |
2025-07-19 05:17:52 +0200 | jespada | (~jespada@2800:a4:2237:6f00:f891:1157:3fbd:5750) jespada |
2025-07-19 05:22:13 +0200 | trickard_ | trickard |
2025-07-19 05:22:25 +0200 | jespada | (~jespada@2800:a4:2237:6f00:f891:1157:3fbd:5750) (Ping timeout: 248 seconds) |
2025-07-19 05:25:05 +0200 | peterbecich | (~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 248 seconds) |
2025-07-19 05:27:19 +0200 | jespada | (~jespada@2800:a4:2237:6f00:7c22:1cd4:4804:597b) jespada |