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; gue...@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. gue...@babe:~/tmp$ gnatmake -f -O0 c390002.adb gcc -c -O0 c390002.adb gnatbind -x c390002.ali gnatlink c390002.ali -O0 gue...@babe:~/tmp$