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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Dec 9 18:21:52 PST 2010


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



--- Comment #3 from Iain Buclaw <ibuclaw at ubuntu.com> 2010-12-09 18:20:11 PST ---
Changing

gcc $(MODEL) -lstdc++ -lpthread $(COV) $(DMD_OBJS) -o dmd

to

gcc $(MODEL) $(COV) $(DMD_OBJS) -lstdc++ -lpthread -o dmd

Yields:

/usr/bin/ld: evalu8.o: undefined reference to symbol 'fetestexcept@@GLIBC_2.1'
/usr/bin/ld: note: 'fetestexcept@@GLIBC_2.1' is defined in DSO /lib/libm.so.6
so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [dmd] Error 1


Hence the added -lm

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