[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #26 from Andrew Pinski --- Dup of bug 89461. *** This bug has been marked as a duplicate of bug 89461 ***
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #25 from Jakub Jelinek --- You can have a look e.g. how libgomp/testsuite/lib/*.exp finds -L options it wants to add to find libstdc++ or libgfortran. That said, I think better would be not to add this unconditionally to all libstdc++ tests, but add some dg-add-libatomic-options or similar tcl code that would append it if some test requests it.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #24 from dave.anglin at bell dot net --- On 2018-02-19 10:38 AM, redi at gcc dot gnu.org wrote: > I think we can rely on the relative placement, but it would be better to add > that to the _l flags used for the testsuite. I couldn't find how to add it in libstdc++.exp. "-L/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/libsupc++/.libs" seems to have been passed down for toplevel. For C programs, libdir is set specially but not for C++ programs.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #23 from Jonathan Wakely --- Oops, I meant -L flags but seem to be unable to use my Shift key properly.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #22 from Jonathan Wakely --- I think we can rely on the relative placement, but it would be better to add that to the _l flags used for the testsuite.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #21 from dave.anglin at bell dot net --- On 2018-02-18 11:12 AM, danglin at gcc dot gnu.org wrote: > // { dg-additional-options "-latomic" { target libatomic_available } } > > doesn't work: The attached hack does work but it depends on the relative placement of the libatomic and libstdc++ directories.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #20 from John David Anglin --- // { dg-additional-options "-latomic" { target libatomic_available } } doesn't work: spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/test/gnu/gcc/objdir/./gc c -nostdinc++ -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src -L/t est/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/ objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gnu/gcc/gcc-8/h ppa2.0w-hp-hpux11.11/bin/ -B/opt/gnu/gcc/gcc-8/hppa2.0w-hp-hpux11.11/lib/ -isyst em /opt/gnu/gcc/gcc-8/hppa2.0w-hp-hpux11.11/include -isystem /opt/gnu/gcc/gcc-8/ hppa2.0w-hp-hpux11.11/sys-include -B/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/. /libstdc++-v3/src/.libs -fmessage-length=0 -fno-show-column -g -O2 -DLOCALEDIR=" ." -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/include /hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3 /include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc+ +-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util libatomic_ available10911.c -latomic -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a -L/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libstdc++-v3/src/fil esystem/.libs -lm -o libatomic_available10911.exe /usr/ccs/bin/ld: Can't find library: "atomic" collect2: error: ld returned 1 exit status In this build, we the following library path: /test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/libatomic/.libs
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 --- Comment #19 from John David Anglin --- On hppa64-hp-hpux11.11, the tests currently fail on gcc-8 trunk with a link error: spawn /test/gnu/gcc/objdir/./gcc/xg++ -shared-libgcc -B/test/gnu/gcc/objdir/./gc c -nostdinc++ -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src -L/tes t/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/src/.libs -L/test/gnu/gcc/objd ir/hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs -B/opt/gnu64/gcc/gcc-8/hppa6 4-hp-hpux11.11/bin/ -B/opt/gnu64/gcc/gcc-8/hppa64-hp-hpux11.11/lib/ -isystem /op t/gnu64/gcc/gcc-8/hppa64-hp-hpux11.11/include -isystem /opt/gnu64/gcc/gcc-8/hppa 64-hp-hpux11.11/sys-include -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libstdc ++-v3/src/.libs -fmessage-length=0 -fno-show-column -ffunction-sections -fdata-sections -g -O2 -DLOCALEDIR="." -nostdinc++ -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/testsuite/util /test/gnu/gcc/gcc/libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc -pthread -fno-diagnostics-show-caret -fdiagnostics-color=never ./libtestc++.a -L/test/gnu/gcc/objdir/hppa64hp-hpux11.11/libstdc++-v3/src /filesystem/.libs -lm -o ./default_weaktoshared.exeld: Unsatisfied symbol "__atomic_fetch_add_4" in file /var/tmp//ccfRrRyB.old: Unsatisfied symbol "__atomic_fetch_sub_4" in file /var/tmp//ccfRrRyB.o We need to link with "-latomic".
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Andrew Pinski changed: What|Removed |Added Target Milestone|6.5 |--- --- Comment #18 from Andrew Pinski --- I don't see this failure on either of my aarch64-linux-gnu testers: https://gcc.gnu.org/ml/gcc-testresults/2017-07/msg00410.html (Ubuntu 1604 distro) https://gcc.gnu.org/ml/gcc-testresults/2017-07/msg00367.html (CentOS 7.3 distro)
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Richard Biener changed: What|Removed |Added Target Milestone|6.4 |6.5 --- Comment #17 from Richard Biener --- GCC 6.4 is being released, adjusting target milestone.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Jakub Jelinek changed: What|Removed |Added Target Milestone|6.3 |6.4 --- Comment #16 from Jakub Jelinek --- GCC 6.3 is being released, adjusting target milestone.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Richard Biener changed: What|Removed |Added Target Milestone|6.2 |6.3
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Richard Biener changed: What|Removed |Added Target Milestone|6.2 |6.3
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Jakub Jelinek changed: What|Removed |Added Target Milestone|6.0 |6.2 --- Comment #15 from Jakub Jelinek --- GCC 6.1 has been released.
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Uroš Bizjak changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #14 from Uroš Bizjak --- Also fails on alpha [1]. [1] https://gcc.gnu.org/ml/gcc-testresults/2016-04/msg00299.html
[Bug libstdc++/69331] FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69331 Jeffrey A. Law changed: What|Removed |Added Summary|[6 regression] FAIL:|FAIL: |20_util/shared_ptr/thread/d |20_util/shared_ptr/thread/d |efault_weaktoshared.cc |efault_weaktoshared.cc |execution test |execution test --- Comment #13 from Jeffrey A. Law --- Based on c#10 and c#11, removing regression marker. If Jon can get this fixed, he'd have final say on whether or not to include the fix in gcc-6.