www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 78] New: Compilation broken

http://bugzilla.gdcproject.org/show_bug.cgi?id=78


           Summary: Compilation broken
    Classification: Unclassified
           Product: GDC
           Version: 4.7.x
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gdc
        AssignedTo: ibuclaw gdcproject.org
        ReportedBy: king_duckz gmx.com


Created attachment 53
  --> http://bugzilla.gdcproject.org/attachment.cgi?id=53
Configure + build log running just "make"

I tried to build with gcc 4.7.1 and 4.7.3. After asking for help on the irc
channel and successfully building with gcc 4.8.x, I'm pretty sure this is a
problem with gdc.

I verified this to be happening on Sabayon 32/64 bit, using both the Gentoo
patched gcc 4.7.3 and the vanilla one (currently gcc --version reports: gcc
(Gentoo Hardened 4.7.3 p1.0, pie-0.5.5) 4.7.3).

Steps to reproduce:
clone the git repo and switch to remote branch gdc-4.7 (tested at
3b070989aa3d5988c2930f80c49b20d64c717d0d)

download gcc 4.7.3 from a mirror (my gcc-4.7.3.tar.bz2 has md5
86f428a30379bdee0224e353ee2f999e), uncompress it and patch it following the
"general installation" guide on the gdc wiki

configure with ../gcc-4.7.3/configure --enable-languages=d --prefix=/opt/gdc
--with-bugurl="http://gdcproject.org/bugzilla" --enable-checking=release

make

The build then fails with several unresolved externals errors. Note that the
unpatched gcc (ie: no gdc) builds just fine on the same system.

-- 
Configure bugmail: http://bugzilla.gdcproject.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
Sep 30 2013