www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17236] New: DMD doesn't build on debian anymore

https://issues.dlang.org/show_bug.cgi?id=17236

          Issue ID: 17236
           Summary: DMD doesn't build on debian anymore
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: deadalnix gmail.com

make[1]: Entering directory '/home/deadalnix/d/dmd/src'
no cpu specified, assuming X86
CC=c++ dmd -of../generated/linux/release/64/idgen ddmd/idgen.d
/usr/bin/ld: ../generated/linux/release/64/idgen.o: relocation R_X86_64_32
against `.rodata' can not be used when making a shared object; recompile with
-fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
posix.mak:414: recipe for target '../generated/linux/release/64/idgen' failed
make[1]: *** [../generated/linux/release/64/idgen] Error 1
make[1]: Leaving directory '/home/deadalnix/d/dmd/src'
posix.mak:8: recipe for target 'all' failed
make: *** [all] Error 2

--
Mar 01