2024/05/02

Newest at the top

2024-05-02 20:08:24 +0200 <monochrom> tomsmeding: I haven't wished for a Haskell-2010-only compiler for error message purposes. Even within Haskell 2010, the Num class is already bad enough for that purpose, banning Foldable (for example) is not going to really help. (And I actually teach Foldable after the basics.)
2024-05-02 20:04:30 +0200zetef(~quassel@5.14.202.140) (Ping timeout: 245 seconds)
2024-05-02 20:03:40 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds)
2024-05-02 19:57:21 +0200k``(~k``@136.54.34.25)
2024-05-02 19:57:04 +0200k``(~k``@136.54.34.25) (Remote host closed the connection)
2024-05-02 19:55:47 +0200yin(~yin@user/zero) (Ping timeout: 268 seconds)
2024-05-02 19:55:08 +0200wootehfoot(~wootehfoo@user/wootehfoot) (Ping timeout: 256 seconds)
2024-05-02 19:55:06 +0200zetef(~quassel@5.14.202.140)
2024-05-02 19:48:13 +0200euleritian(~euleritia@dynamic-176-001-008-240.176.1.pool.telefonica.de)
2024-05-02 19:47:46 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de) (Ping timeout: 268 seconds)
2024-05-02 19:47:37 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-02 19:45:37 +0200 <hseg> ironic timing aside, was going to say the problematic case here was compiled with the wrong ghc, trying the correct one, one moment
2024-05-02 19:44:41 +0200 <hseg> ... and *another* crash
2024-05-02 19:44:35 +0200hseg(~gesh@77.137.75.224)
2024-05-02 19:43:57 +0200hseg(~gesh@77.137.75.224) (Read error: Connection reset by peer)
2024-05-02 19:41:33 +0200 <hseg> one moment
2024-05-02 19:41:31 +0200 <hseg> ah, wait
2024-05-02 19:41:07 +0200 <hseg> at least, not with cabal --ghc-options=-pie --ghc-options=-fPIC
2024-05-02 19:40:49 +0200 <hseg> no dice
2024-05-02 19:40:28 +0200euleritian(~euleritia@ip4d16fc38.dynamic.kabel-deutschland.de)
2024-05-02 19:40:25 +0200 <int-e> I'm not sure why I needed -fPIC when compiling the final program, and not -fPIE.
2024-05-02 19:40:24 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 256 seconds)
2024-05-02 19:40:11 +0200euleritian(~euleritia@dynamic-176-001-008-240.176.1.pool.telefonica.de) (Read error: Connection reset by peer)
2024-05-02 19:39:46 +0200 <int-e> (with the settings at the end of that paste)
2024-05-02 19:39:13 +0200 <int-e> hseg: note that I rebuilt ghc for this
2024-05-02 19:39:04 +0200 <hseg> hrm, testing
2024-05-02 19:37:59 +0200 <int-e> hseg: Well, this worked: https://paste.tomsmeding.com/cbI4u3Qk
2024-05-02 19:19:42 +0200jamesmartinez(uid6451@id-6451.helmsley.irccloud.com)
2024-05-02 19:08:41 +0200 <hseg> if they're concerned, let them share the burden of finding a workable build
2024-05-02 19:08:19 +0200 <hseg> giving up and opening this up to comments from the users of the package
2024-05-02 19:08:05 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl)
2024-05-02 19:05:24 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com)
2024-05-02 19:04:27 +0200pavonia(~user@user/siracusa)
2024-05-02 18:56:40 +0200tromp(~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…)
2024-05-02 18:54:28 +0200 <hseg> pie is still a puzzle though
2024-05-02 18:54:19 +0200 <hseg> given that that's no different from the previous behaviour, I'm tempted to drop it
2024-05-02 18:53:55 +0200 <hseg> but at least it builds
2024-05-02 18:53:50 +0200 <hseg> hrm. enabling relro (with --ld-options='-Wl,-z,relro,-z,now') still complains RELRO is only partially enabled
2024-05-02 18:53:42 +0200jcarpenter2(~lol@2603:3016:1e01:b940:e453:9e02:8346:816a) (Read error: Connection reset by peer)
2024-05-02 18:52:20 +0200 <hseg> Right. I'm testing using a statically linked cabal-install and a ghcup-versioned ghc
2024-05-02 18:51:19 +0200 <int-e> hseg: I remember using Arch's ghc to build my own, then uninstalling the Arch one. So it was good enough for bootstrapping.
2024-05-02 18:50:23 +0200euphores(~SASL_euph@user/euphores)
2024-05-02 18:47:25 +0200califax(~califax@user/califx)
2024-05-02 18:46:53 +0200califax(~califax@user/califx) (Remote host closed the connection)
2024-05-02 18:46:42 +0200philopsos(~caecilius@user/philopsos)
2024-05-02 18:43:11 +0200euphores(~SASL_euph@user/euphores) (Quit: Leaving.)
2024-05-02 18:41:40 +0200califax(~califax@user/califx)
2024-05-02 18:39:41 +0200 <tomsmeding> I concede there is something to be won here
2024-05-02 18:39:31 +0200 <tomsmeding> unless you want to either make your life very difficult, or do the same and also evangelise in the haskell community, I'd recommend skipping PIE :p
2024-05-02 18:39:08 +0200 <tomsmeding> right