[Bug libstdc++/53475] New: Section type conflict errors in libstdc++ testsuite

Greta.Yorsh at arm dot com gcc-bugzilla@gcc.gnu.org
Thu May 24 14:32:00 GMT 2012


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

             Bug #: 53475
           Summary: Section type conflict errors in libstdc++ testsuite
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Greta.Yorsh@arm.com
                CC: paolo.carlini@oracle.com


Failures due to "section type conflict" in libstdc++-v3 testsuite:

FAIL: 20_util/tuple/creation_functions/tie2.cc (test for excess errors)
Excess errors:
/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/include/tuple:1057:25:
error: std::ignore causes a section type conflict with std::ignore

FAIL: 25_algorithms/stable_sort/49559.cc (test for excess errors)
Excess errors:
/work/local-checkouts/gcc-fsf/libstdc++-v3/testsuite/25_algorithms/stable_sort/49559.cc:37:11:
error: A causes a section type conflict with A

Known to fail: r187724
Known to work: r187546

Executing on host: /work/builds/a9-may/arm-none-eabi/gcc2/./gcc/g++
-shared-libgcc -B/work/builds/a9-may/arm-none-eabi/gcc2/./gcc -nostdinc++
-L/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/src
-L/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/src/.libs
-B/work/builds/a9-may/install/arm-none-eabi/bin/
-B/work/builds/a9-may/install/arm-none-eabi/lib/ -isystem
/work/builds/a9-may/install/arm-none-eabi/include -isystem
/work/builds/a9-may/install/arm-none-eabi/sys-include
-B/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/./libstdc++-v3/src/.libs
-D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2
-g -O2 -DLOCALEDIR="." -nostdinc++
-I/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/include/arm-none-eabi
-I/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/include
-I/work/local-checkouts/gcc-fsf/libstdc++-v3/libsupc++
-I/work/local-checkouts/gcc-fsf/libstdc++-v3/include/backward
-I/work/local-checkouts/gcc-fsf/libstdc++-v3/testsuite/util
/work/local-checkouts/gcc-fsf/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie2.cc
libstdc++_tg.o   -std=gnu++0x ./libtestc++.a        -Wl,-wrap,exit
-Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm   -o ./tie2.exe    (timeout
= 600)
In file included from
/work/local-checkouts/gcc-fsf/libstdc++-v3/testsuite/20_util/tuple/creation_functions/tie2.cc:22:0:
/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/include/tuple:1057:25:
error: std::ignore causes a section type conflict with std::ignore
   const _Swallow_assign ignore{};
                         ^

Executing on host: /work/builds/a9-may/arm-none-eabi/gcc2/./gcc/g++
-shared-libgcc -B/work/builds/a9-may/arm-none-eabi/gcc2/./gcc -nostdinc++
-L/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/src
-L/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/src/.libs
-B/work/builds/a9-may/install/arm-none-eabi/bin/
-B/work/builds/a9-may/install/arm-none-eabi/lib/ -isystem
/work/builds/a9-may/install/arm-none-eabi/include -isystem
/work/builds/a9-may/install/arm-none-eabi/sys-include
-B/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/./libstdc++-v3/src/.libs
-D_GLIBCXX_ASSERT -fmessage-length=0 -ffunction-sections -fdata-sections -g -O2
-g -O2 -DLOCALEDIR="." -nostdinc++
-I/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/include/arm-none-eabi
-I/work/builds/a9-may/arm-none-eabi/gcc2/arm-none-eabi/libstdc++-v3/include
-I/work/local-checkouts/gcc-fsf/libstdc++-v3/libsupc++
-I/work/local-checkouts/gcc-fsf/libstdc++-v3/include/backward
-I/work/local-checkouts/gcc-fsf/libstdc++-v3/testsuite/util
/work/local-checkouts/gcc-fsf/libstdc++-v3/testsuite/25_algorithms/stable_sort/49559.cc
libstdc++_tg.o   -std=gnu++0x ./libtestc++.a        -Wl,-wrap,exit
-Wl,-wrap,_exit -Wl,-wrap,main -Wl,-wrap,abort -lm   -o ./49559.exe    (timeout
= 600)
/work/local-checkouts/gcc-fsf/libstdc++-v3/testsuite/25_algorithms/stable_sort/49559.cc:37:11:
error: A causes a section type conflict with A
 const int A[] = { 10 };
           ^



More information about the Gcc-bugs mailing list