After make install, PATH=... with mainline on x86_64 as of 20050319:

For C :
$ gcc z.c
/usr/bin/ld: crtbegin.o: No such file: No such file or directory
collect2: ld returned 1 exit status

For Ada:

$ gnatmake t.adb
fatal error, run-time library not installed correctly
cannot locate file system.ads
gnatmake: *** make failed.

It looks like GNAT is looking for stuff in:

INSTALL/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/

but the install process created:

INSTALL/lib/gcc/x86_64-unknown-linux-gnu/const/

After installing a symlink 4.1.0 -> const things do work both
for C and Ada.

Not tested yet on other platforms or 4.0 branch.

CONFARGS= --prefix=/home/guerby/work/gcc/install/install-20050319T150703
--enable-languages=ada,c --enable-__cxa_atexit --disable-nls
--enable-threads=posix --enable-checking
LAST_UPDATED
Sat Mar 19 13:18:04 UTC 2005

-- 
           Summary: C code fails to link and Ada fails to find its runtime
                    after make install on x86_64
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: laurent at guerby dot net
                CC: gcc-bugs at gcc dot gnu dot org,neroden at twcny dot rr
                    dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20555

Reply via email to