https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64473
Bug ID: 64473 Summary: libstdc++-v3 tests fail to link on AArch64 tiny memory model. Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: belagod at gcc dot gnu.org NA->UNRESOLVED: 22_locale/money_get/get/char/14.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/14.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/19.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/19.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/22131.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/22131.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/38399.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/38399.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/39168.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/39168.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/5.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/5.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/6.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/6.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/7.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/7.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/8.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/8.cc execution test NA->UNRESOLVED: 22_locale/money_get/get/char/9.cc compilation failed to produce executable PASS->NA: 22_locale/money_get/get/char/9.cc execution test .../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/./gcc/xg++ -shared-libgcc -B.../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/./gcc -nostdinc++ -L.../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/libstdc++-v3/src -L.../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/libstdc++-v3/src/.libs -L.../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/libstdc++-v3/libsupc++/.libs -B.../fsf-trunk/builds/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/install/aarch64-none-elf/bin/ -B.../fsf-trunk/builds/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/install/aarch64-none-elf/lib/ -isystem .../fsf-trunk/builds/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/install/aarch64-none-elf/include -isystem .../fsf-trunk/builds/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/install/aarch64-none-elf/sys-include -B.../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/./libstdc++-v3/src/.libs -D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++ -I.../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/libstdc++-v3/include/aarch64-none-elf -I.../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/libstdc++-v3/include -I.../fsf-trunk/builds/fsf-trunk.597/src/gcc/libstdc++-v3/libsupc++ -I.../fsf-trunk/builds/fsf-trunk.597/src/gcc/libstdc++-v3/include/backward -I.../fsf-trunk/builds/fsf-trunk.597/src/gcc/libstdc++-v3/testsuite/util .../fsf-trunk/builds/fsf-trunk.597/src/gcc/libstdc++-v3/testsuite/22_locale/num_get/get/char/39802.cc -include bits/stdc++.h ./libtestc++.a -specs=aem-ve.specs -lm -mcmodel=tiny -o ./39802.exe^M /tmp/44693373.0/ccdhamwV.o: In function `_GLOBAL__sub_I__Z6test01v':^M .../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/libstdc++-v3/include/iostream:74:(.text.startup._GLOBAL__sub_I__Z6test01v+0xc): relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against `.bss._ZStL8__ioinit'^M collect2: error: ld returned 1 exit status^M compiler exited with status 1 output is: /tmp/44693373.0/ccdhamwV.o: In function `_GLOBAL__sub_I__Z6test01v':^M .../builds/fsf-trunk/fsf-trunk.597/workdir/rhe5x86_64/aarch64-none-elf/obj/gcc2/aarch64-none-elf/libstdc++-v3/include/iostream:74:(.text.startup._GLOBAL__sub_I__Z6test01v+0xc): relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against `.bss._ZStL8__ioinit'^M collect2: error: ld returned 1 exit status^M UNSUPPORTED: ./39802.exe: memory full PASS: 22_locale/num_get/get/char/39802.cc (test for excess errors) UNRESOLVED: 22_locale/num_get/get/char/39802.cc compilation failed to produce executable extra_tool_flags are: -include bits/stdc++.h