Re: Need help with the dmd package on NixOS

2018-05-19 Thread Thomas Mader via Digitalmars-d
On Friday, 4 May 2018 at 20:27:33 UTC, Thomas Mader wrote: The dmd package on NixOS doesn't work anymore in their master branch. They must have changed something in the C environment or something and I don't have a clue what's going on. I found the problem. strip in binutils 2.30 is broken. Ni

Re: Need help with the dmd package on NixOS

2018-05-18 Thread Thomas Mader via Digitalmars-d
On Friday, 18 May 2018 at 13:15:35 UTC, Johannes Pfau wrote: As far as I know, that's correct. GCC-based compilers emit ASM code only and leave assembling of the objects files to the 'binutils as' assembler. That's probably the reason they assumed it's a binutils bug. For DMD, binutils is not i

Re: Need help with the dmd package on NixOS

2018-05-18 Thread Johannes Pfau via Digitalmars-d
On Friday, 18 May 2018 at 11:28:30 UTC, Mike Franklin wrote: On Friday, 18 May 2018 at 10:28:37 UTC, Thomas Mader wrote: On Friday, 11 May 2018 at 04:27:20 UTC, Thomas Mader wrote: My suspicion about the switch to glibc 2.27 being the problem was wrong. I did a very timeconsuming bisection and

Re: Need help with the dmd package on NixOS

2018-05-18 Thread Mike Franklin via Digitalmars-d
On Friday, 18 May 2018 at 10:28:37 UTC, Thomas Mader wrote: On Friday, 11 May 2018 at 04:27:20 UTC, Thomas Mader wrote: My suspicion about the switch to glibc 2.27 being the problem was wrong. I did a very timeconsuming bisection and found the problem commit to be the one which bumped binutils

Re: Need help with the dmd package on NixOS

2018-05-18 Thread Thomas Mader via Digitalmars-d
On Friday, 11 May 2018 at 04:27:20 UTC, Thomas Mader wrote: My suspicion about the switch to glibc 2.27 being the problem was wrong. I did a very timeconsuming bisection and found the problem commit to be the one which bumped binutils to 2.30. Can somebody help me to answer the question from

Re: Need help with the dmd package on NixOS

2018-05-10 Thread Thomas Mader via Digitalmars-d
On Wednesday, 9 May 2018 at 19:58:48 UTC, Thomas Mader wrote: Now I wonder how something like that is possible. My suspicion about the switch to glibc 2.27 being the problem was wrong. I did a very timeconsuming bisection and found the problem commit to be the one which bumped binutils to 2.3

Re: Need help with the dmd package on NixOS

2018-05-09 Thread Thomas Mader via Digitalmars-d
On Friday, 4 May 2018 at 20:27:33 UTC, Thomas Mader wrote: The dmd package on NixOS doesn't work anymore in their master branch. Since dmd still works correctly on the stable branch I tried to examine the differences of libphobos2.a. I switched back to version 2.079.0 on master to have the sam

Re: Need help with the dmd package on NixOS

2018-05-08 Thread Seb via Digitalmars-d
On Tuesday, 8 May 2018 at 14:45:53 UTC, Thomas Mader wrote: On Saturday, 5 May 2018 at 11:22:06 UTC, Thomas Mader wrote: I also need to skip through changes which might have introduced this problem. Has anyone tried to compile with glibc 2.27? They switched to 2.27 on Master branch and I suspe

Re: Need help with the dmd package on NixOS

2018-05-08 Thread Thomas Mader via Digitalmars-d
On Saturday, 5 May 2018 at 11:22:06 UTC, Thomas Mader wrote: I also need to skip through changes which might have introduced this problem. Has anyone tried to compile with glibc 2.27? They switched to 2.27 on Master branch and I suspect that the error has to do with that.

Re: Need help with the dmd package on NixOS

2018-05-05 Thread Thomas Mader via Digitalmars-d
On Saturday, 5 May 2018 at 00:07:01 UTC, Johannes Loher wrote: Am 04.05.2018 um 22:27 schrieb Thomas Mader: [...] Here is a demangled version of what you posted: Here comes the entire demangled output of the Hello World build. Maybe it has something to do with ModuleInfo? I also need to skip

Re: Need help with the dmd package on NixOS

2018-05-04 Thread Johannes Loher via Digitalmars-d
Am 04.05.2018 um 22:27 schrieb Thomas Mader: > [...] Here is a demangled version of what you posted: dmd hello.d hello.o: In function `@safe void std.stdio.writeln!(immutable(char)[]).writeln(immutable(char)[])': hello.d:(.text.@safe void std.stdio.writeln!(immutable(char)[]).writeln(immutable(cha

Need help with the dmd package on NixOS

2018-05-04 Thread Thomas Mader via Digitalmars-d
The dmd package on NixOS doesn't work anymore in their master branch. They must have changed something in the C environment or something and I don't have a clue what's going on. Building the package succeeds but when I try to build with the newly build binary I get all sorts of linker errors. M