This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/47056] [4.6 Regression] 10 Ada ACATS tests fail to link with undefined reference on ia64-linux


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

--- Comment #2 from Laurent GUERBY <laurent at guerby dot net> 2010-12-28 08:48:11 UTC ---
Reduced test case:

procedure C390002 is
    type Object is tagged null record;
begin
   null;
end C390002;

guerby@Babe:~/tmp$ gnatmake -f -O1 c390002.adb
gcc -c -O1 c390002.adb
gnatbind -x c390002.ali
gnatlink c390002.ali -O1
./c390002.o: In function `_ada_c390002':
c390002.adb:(.text+0x661): undefined reference to `c390002___alignment.1835'
c390002.adb:(.text+0x6a1): undefined reference to `c390002__objectSR.1844'
c390002.adb:(.text+0x6e1): undefined reference to `c390002__objectSW.1850'
c390002.adb:(.text+0x771): undefined reference to `c390002__objectSO.1861'
c390002.adb:(.text+0x7b1): undefined reference to `c390002__Oeq.1865'
c390002.adb:(.text+0x7f1): undefined reference to `c390002___assign.1869'
c390002.adb:(.text+0x831): undefined reference to `c390002__objectDA.1887'
c390002.adb:(.text+0x871): undefined reference to `c390002__objectDF.1891'
collect2: ld returned 1 exit status
gnatlink: error when calling /home/guerby/install-trunk/bin/gcc
gnatmake: *** link failed.
guerby@Babe:~/tmp$ gnatmake -f -O0 c390002.adb
gcc -c -O0 c390002.adb
gnatbind -x c390002.ali
gnatlink c390002.ali -O0
guerby@Babe:~/tmp$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]