[Issue 5334] New: FTBFS using GCC-4.5 and linux.mak

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 9 05:44:28 PST 2010


http://d.puremagic.com/issues/show_bug.cgi?id=5334

           Summary: FTBFS using GCC-4.5 and linux.mak
           Product: D
           Version: D1 & D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: make
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: ibuclaw at ubuntu.com


--- Comment #0 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-12-09 05:42:48 PST ---
Seems to be a trivial ordering problem in the makefile. And there are missing
references to symbols from -lm and -lstdc++.

Using GCC-4.5 to build from source.


--- dmd~/linux.mak  2010-11-24 01:33:15.143822000 +0000
+++ dmd/linux.mak       2010-12-09 13:38:40.908718003 +0000
@@ -94,7 +94,7 @@
 all: dmd

 dmd: $(DMD_OBJS)
-       $(CC) $(MODEL) -lpthread $(COV) $(DMD_OBJS) -o dmd
+       $(CC) $(MODEL) $(COV) $(DMD_OBJS) -lm -lpthread -lstdc++ -o dmd

 clean:
        rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \


Regards

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list