July 06, 2010 [Issue 4432] New: DMD r575 won't build on Linux in debug mode: undefined reference to obj_long | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4432 Summary: DMD r575 won't build on Linux in debug mode: undefined reference to obj_long Product: D Version: D2 Platform: x86 OS/Version: Linux Status: NEW Severity: minor Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: chadjoan@gmail.com --- Comment #0 from Chad Joan <chadjoan@gmail.com> 2010-07-06 10:11:56 PDT --- When I try to build DMD revision 575 in debug mode on my Linux machine I get this error: cgcv.o: In function `cv4_outsym': /mnt/sharedhd/dprojects/experimental/properties/dmd.svn.r575/src/backend/cgcv.c:2277: undefined reference to `obj_long(int, unsigned int, unsigned long, unsigned int, unsigned int, unsigned int)' collect2: ld returned 1 exit status make: *** [dmd] Error 1 It seems to be caused by the removal of obj_long in elfobj.c at revision 572. I'm not sure what the proper way to fix it is since obj_long seems to be on its way out from elfobj anyways. As a workaround I just put the stub back from pre-r572 to make it compile. I compiled DMD in debug mode by switching to this GFLAGS line in linux.mak: GFLAGS = $(WARNINGS) -D__near= -D__pascal= -fno-exceptions -g -DDEBUG=1 -DUNITTEST $(COV) When I compile with the normal GFLAGS everything works fine. My Linux machine is 64-bit but I am building the 32-bit version of the compiler like normal. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
May 03, 2012 [Issue 4432] DMD r575 won't build on Linux in debug mode: undefined reference to obj_long | ||||
---|---|---|---|---|
| ||||
Posted in reply to Chad Joan | http://d.puremagic.com/issues/show_bug.cgi?id=4432 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |FIXED --- Comment #1 from Don <clugdbug@yahoo.com.au> 2012-05-03 03:32:45 PDT --- This was fixed 2 million years ago. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation