D.gnu - [Issue 1057] New: Can't build on x86_64 without --disable-shared
- d-bugmail puremagic.com (16/16) Mar 12 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1057
- d-bugmail puremagic.com (10/10) Oct 27 2007 http://d.puremagic.com/issues/show_bug.cgi?id=1057
- d-bugmail puremagic.com (12/12) Jul 06 2012 http://d.puremagic.com/issues/show_bug.cgi?id=1057
http://d.puremagic.com/issues/show_bug.cgi?id=1057 Summary: Can't build on x86_64 without --disable-shared Product: DGCC aka GDC Version: 0.23 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: dvdfrdmn users.sf.net ReportedBy: ndbecker2 gmail.com Can't build on x86_64 without --disable-shared. Using --disable-shared builds a non-PIC version of libgphobos, and this can't be used to build shared object libraries. --
Mar 12 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1057 I can build without --disable-shared, but when trying to create a -shared object the linker tells me that I have to rebuild phobos with -fPIC. As a workaround you can compile everything with -fPIC, which should not hurt so much on AMD64. Execute this command in the gcc directory (not in gcc/d/ but gcc/d/ must already exist): find -name 'configure*' |grep -v .svn | xargs perl -p -i -e 's/-O2/-O2 -fPIC/g' I really hope someone will find a clean solution. --
Oct 27 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1057 Iain Buclaw <ibuclaw ubuntu.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME Having been using / testing / developing on x86_64 builds for over a year now and have never had this issue. Closing. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 06 2012