http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47056
Summary: [4.6 Regression] 10 Ada ACATS tests fail to link with undefined reference on ia64-linux Product: gcc Version: unknown Status: UNCONFIRMED Keywords: link-failure Severity: normal Priority: P3 Component: ada AssignedTo: unassig...@gcc.gnu.org ReportedBy: laur...@guerby.net Host: ia64-linux Target: ia64-linux Build: ia64-linux From: http://gcc.gnu.org/ml/gcc-testresults/2010-12/msg02106.html The following ACATS FAIL with the same kind of linker error: FAIL: c390002 FAIL: c392002 FAIL: c392003 FAIL: c392013 FAIL: c393008 FAIL: c393009 FAIL: c760013 FAIL: cd72a02 FAIL: cdd2a01 FAIL: cdd2a03 gnatlink c390002.ali -O2 --GCC=/home/guerby/build/gcc/xgcc -B/home/guerby/build/gcc/ ./c390002.o: In function `_ada_c390002': c390002.adb:(.text+0x1070): undefined reference to `c390002__vehicle___alignment.1865' c390002.adb:(.text+0x1071): undefined reference to `c390002__vehicle__objectDF.1869' c390002.adb:(.text+0x1072): undefined reference to `c390002__vehicle__create.1880' c390002.adb:(.text+0x1082): undefined reference to `c390002__vehicle__wheels.1883' c390002.adb:(.text+0x16d0): undefined reference to `c390002__motivators___alignment.2087' c390002.adb:(.text+0x1cc0): undefined reference to `c390002__motivators___alignment__2.2292' c390002.adb:(.text+0x22a0): undefined reference to `c390002__motivators___alignment__3.2497' collect2: ld returned 1 exit status gnatlink: error when calling /home/guerby/build/gcc/xgcc gnatlink: error when calling /home/guerby/build/gcc/xgcc gnatmake: *** link failed. ... gnatlink cdd2a03.ali -O2 --GCC=/home/guerby/build/gcc/xgcc -B/home/guerby/build/gcc/ ./cdd2a03.o: In function `_ada_cdd2a03': cdd2a03.adb:(.text+0x1520): undefined reference to `cdd2a03___alignment.2046' cdd2a03.adb:(.text+0x1600): undefined reference to `cdd2a03__parentDF.2073' cdd2a03.adb:(.text+0x1b92): undefined reference to `cdd2a03___alignment__2.2511' cdd2a03.adb:(.text+0x20b2): undefined reference to `cdd2a03___alignment__3.2709' collect2: ld returned 1 exit status gnatlink: error when calling /home/guerby/build/gcc/xgcc gnatmake: *** link failed. (The other two FAIL are unrelated)