From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25006 invoked by alias); 4 Nov 2013 23:52:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24244 invoked by uid 48); 4 Nov 2013 23:50:45 -0000 From: "cvs at cs dot utoronto.ca" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/58993] New: failure to access pointer to protected member method in base from derived class specialization Date: Mon, 04 Nov 2013 23:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.7.3 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs at cs dot utoronto.ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg00287.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58993 Bug ID: 58993 Summary: failure to access pointer to protected member method in base from derived class specialization Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: cvs at cs dot utoronto.ca Sample code: class base { protected: typedef void (base::*foo_type)() const; void foo() const {} }; template struct bar : public base { foo_type test() {=20 return &base::foo; // OK } }; template <> struct bar : public base { using base::foo; foo_type test() {=20 foo(); // OK base::foo(); // OK foo_type x =3D &bar::foo; // OK return &base::foo; // error } }; int main() { bar().test(); bar().test(); return 0; } Compiler output: protected_base.cpp: In member function =E2=80=98void (base::* bar::test())()const=E2=80=99: protected_base.cpp:5:10: error: =E2=80=98void base::foo() const=E2=80=99 is= protected protected_base.cpp:22:23: error: within this context Version: g++ (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 >>From gcc-bugs-return-433511-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 05 00:14:33 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 11436 invoked by alias); 5 Nov 2013 00:14:33 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 8376 invoked by uid 48); 5 Nov 2013 00:12:30 -0000 From: "howarth at nitro dot med.uc.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/58994] New: asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372 Date: Tue, 05 Nov 2013 00:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: howarth at nitro dot med.uc.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg00288.txt.bz2 Content-length: 16768 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58994 Bug ID: 58994 Summary: asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: howarth at nitro dot med.uc.edu CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org With the remerge of libsanitizer, the following test cases fail on x86_64-apple-darwin12 at -m64 but not at -m32 (which shows no regressions)= =E2=80=A6 Native configuration is x86_64-apple-darwin12.5.0 =3D=3D=3D g++ tests =3D=3D=3D Running target unix/-m32 =3D=3D=3D g++ Summary for unix/-m32 =3D=3D=3D # of expected passes 473 # of unsupported tests 132 Running target unix/-m64 FAIL: c-c++-common/asan/global-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O3 -fomit-frame-pointer=20 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/global-overflow-1.c -Os execution test FAIL: c-c++-common/asan/global-overflow-1.c -O2 -flto -flto-partition=3Dno= ne=20 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O3 -fomit-frame-pointer execut= ion test FAIL: c-c++-common/asan/heap-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/heap-overflow-1.c -Os execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O2 -flto -flto-partition=3Dnone= =20 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/memcmp-1.c -O0 execution test FAIL: c-c++-common/asan/memcmp-1.c -O1 execution test FAIL: c-c++-common/asan/memcmp-1.c -O2 execution test FAIL: c-c++-common/asan/memcmp-1.c -O3 -fomit-frame-pointer execution test FAIL: c-c++-common/asan/memcmp-1.c -O3 -g execution test FAIL: c-c++-common/asan/memcmp-1.c -Os execution test FAIL: c-c++-common/asan/memcmp-1.c -O2 -flto -flto-partition=3Dnone execu= tion test FAIL: c-c++-common/asan/memcmp-1.c -O2 -flto execution test FAIL: c-c++-common/asan/null-deref-1.c -O0 execution test FAIL: c-c++-common/asan/null-deref-1.c -O1 execution test FAIL: c-c++-common/asan/null-deref-1.c -O2 execution test FAIL: c-c++-common/asan/null-deref-1.c -O3 -fomit-frame-pointer execution test FAIL: c-c++-common/asan/null-deref-1.c -O3 -g execution test FAIL: c-c++-common/asan/null-deref-1.c -Os execution test FAIL: c-c++-common/asan/null-deref-1.c -O2 -flto -flto-partition=3Dnone=20 execution test FAIL: c-c++-common/asan/null-deref-1.c -O2 -flto execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O0 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O1 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O3 -fomit-frame-pointer=20 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O3 -g execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -Os execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 -flto -flto-partition= =3Dnone execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 -flto execution test FAIL: c-c++-common/asan/sleep-before-dying-1.c -O2 execution test FAIL: c-c++-common/asan/sleep-before-dying-1.c -O2 -flto -flto-partition= =3Dnone=20 execution test FAIL: c-c++-common/asan/sleep-before-dying-1.c -O2 -flto execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O3 -fomit-frame-pointer execu= tion test FAIL: c-c++-common/asan/stack-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/stack-overflow-1.c -Os execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O2 -flto -flto-partition=3Dnon= e=20 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/strip-path-prefix-1.c -O2 execution test FAIL: c-c++-common/asan/strip-path-prefix-1.c -O2 -flto -flto-partition=3D= none=20 execution test FAIL: c-c++-common/asan/strip-path-prefix-1.c -O2 -flto execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O3 -fomit-frame-pointer=20 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -Os execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 -flto -flto-partition=3Dn= one=20 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/use-after-free-1.c -O0 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O1 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O2 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O3 -fomit-frame-pointer execu= tion test FAIL: c-c++-common/asan/use-after-free-1.c -O3 -g execution test FAIL: c-c++-common/asan/use-after-free-1.c -Os execution test FAIL: c-c++-common/asan/use-after-free-1.c -O2 -flto -flto-partition=3Dnon= e=20 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O2 -flto execution test FAIL: g++.dg/asan/deep-stack-uaf-1.C -O0 execution test FAIL: g++.dg/asan/deep-stack-uaf-1.C -O1 execution test FAIL: g++.dg/asan/deep-stack-uaf-1.C -O2 execution test FAIL: g++.dg/asan/deep-stack-uaf-1.C -O3 -fomit-frame-pointer execution t= est FAIL: g++.dg/asan/deep-stack-uaf-1.C -O3 -g execution test FAIL: g++.dg/asan/deep-stack-uaf-1.C -Os execution test FAIL: g++.dg/asan/deep-tail-call-1.C -O0 execution test FAIL: g++.dg/asan/deep-tail-call-1.C -O1 execution test FAIL: g++.dg/asan/deep-tail-call-1.C -O2 execution test FAIL: g++.dg/asan/deep-tail-call-1.C -O3 -fomit-frame-pointer execution t= est FAIL: g++.dg/asan/deep-tail-call-1.C -O3 -g execution test FAIL: g++.dg/asan/deep-tail-call-1.C -Os execution test FAIL: g++.dg/asan/deep-tail-call-1.C -O2 -flto -flto-partition=3Dnone exe= cution test FAIL: g++.dg/asan/deep-tail-call-1.C -O2 -flto execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -O0 execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -O1 execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -O2 execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -O3 -fomit-frame-pointer execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -O3 -g execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -Os execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -O2 -flto -flto-partition=3Dnone=20 execution test FAIL: g++.dg/asan/deep-thread-stack-1.C -O2 -flto execution test FAIL: g++.dg/asan/interception-failure-test-1.C -O0 output pattern test, = is =3D=3D75792=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/interception-failure-test-1.C -O1 output pattern test, = is =3D=3D75806=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/interception-failure-test-1.C -O2 output pattern test, = is =3D=3D75820=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/interception-failure-test-1.C -O3 -fomit-frame-pointer=20 output pattern test, is =3D=3D75834=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/interception-failure-test-1.C -O3 -g output pattern tes= t, is =3D=3D75848=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/interception-failure-test-1.C -Os output pattern test, = is =3D=3D75862=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/interception-failure-test-1.C -O2 -flto -flto-partition= =3Dnone output pattern test, is =3D=3D75886=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/interception-failure-test-1.C -O2 -flto output pattern test, is =3D=3D75912=3D=3DAddressSanitizer CHECK failed: ../../../../gcc-4.9-20131104/libsanitizer/sanitizer_common/sanitizer_mac.cc= :146 "((env_ptr)) !=3D (0)" (0x0, 0x0) FAIL: g++.dg/asan/large-func-test-1.C -O0 execution test FAIL: g++.dg/asan/large-func-test-1.C -O1 execution test FAIL: g++.dg/asan/large-func-test-1.C -O2 execution test FAIL: g++.dg/asan/large-func-test-1.C -O3 -fomit-frame-pointer execution = test FAIL: g++.dg/asan/large-func-test-1.C -O3 -g execution test FAIL: g++.dg/asan/large-func-test-1.C -Os execution test FAIL: g++.dg/asan/large-func-test-1.C -O2 -flto -flto-partition=3Dnone=20 execution test FAIL: g++.dg/asan/large-func-test-1.C -O2 -flto execution test FAIL: g++.dg/asan/symbolize-callback-1.C -O2 execution test FAIL: g++.dg/asan/symbolize-callback-1.C -O2 -flto -flto-partition=3Dnone= =20 execution test FAIL: g++.dg/asan/symbolize-callback-1.C -O2 -flto execution test =3D=3D=3D g++ Summary for unix/-m64 =3D=3D=3D # of expected passes 259 # of unexpected failures 111 # of unsupported tests 132 =3D=3D=3D g++ Summary =3D=3D=3D # of expected passes 732 # of unexpected failures 111 # of unsupported tests 264 /sw/src/fink.build/gcc49-4.9.0-1000/darwin_objdir/gcc/testsuite/g++/../../x= g++=20 version 4.9.0 20131104 (experimental) (GCC)=20 =3D=3D=3D gcc tests =3D=3D=3D Running target unix/-m32 =3D=3D=3D gcc Summary for unix/-m32 =3D=3D=3D # of expected passes 318 # of unsupported tests 101 Running target unix/-m64 FAIL: c-c++-common/asan/global-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O3 -fomit-frame-pointer=20 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/global-overflow-1.c -Os execution test FAIL: c-c++-common/asan/global-overflow-1.c -O2 -flto -flto-partition=3Dno= ne=20 execution test FAIL: c-c++-common/asan/global-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O3 -fomit-frame-pointer execut= ion test FAIL: c-c++-common/asan/heap-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/heap-overflow-1.c -Os execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O2 -flto -flto-partition=3Dnone= =20 execution test FAIL: c-c++-common/asan/heap-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/memcmp-1.c -O0 execution test FAIL: c-c++-common/asan/memcmp-1.c -O1 execution test FAIL: c-c++-common/asan/memcmp-1.c -O2 execution test FAIL: c-c++-common/asan/memcmp-1.c -O3 -fomit-frame-pointer execution test FAIL: c-c++-common/asan/memcmp-1.c -O3 -g execution test FAIL: c-c++-common/asan/memcmp-1.c -Os execution test FAIL: c-c++-common/asan/memcmp-1.c -O2 -flto -flto-partition=3Dnone execu= tion test FAIL: c-c++-common/asan/memcmp-1.c -O2 -flto execution test FAIL: c-c++-common/asan/null-deref-1.c -O0 execution test FAIL: c-c++-common/asan/null-deref-1.c -O1 execution test FAIL: c-c++-common/asan/null-deref-1.c -O2 execution test FAIL: c-c++-common/asan/null-deref-1.c -O3 -fomit-frame-pointer execution test FAIL: c-c++-common/asan/null-deref-1.c -O3 -g execution test FAIL: c-c++-common/asan/null-deref-1.c -Os execution test FAIL: c-c++-common/asan/null-deref-1.c -O2 -flto -flto-partition=3Dnone=20 execution test FAIL: c-c++-common/asan/null-deref-1.c -O2 -flto execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O0 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O1 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O3 -fomit-frame-pointer=20 execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O3 -g execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -Os execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 -flto -flto-partition= =3Dnone execution test FAIL: c-c++-common/asan/sanity-check-pure-c-1.c -O2 -flto execution test FAIL: c-c++-common/asan/sleep-before-dying-1.c -O2 execution test FAIL: c-c++-common/asan/sleep-before-dying-1.c -O2 -flto -flto-partition= =3Dnone=20 execution test FAIL: c-c++-common/asan/sleep-before-dying-1.c -O2 -flto execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O3 -fomit-frame-pointer execu= tion test FAIL: c-c++-common/asan/stack-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/stack-overflow-1.c -Os execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O2 -flto -flto-partition=3Dnon= e=20 execution test FAIL: c-c++-common/asan/stack-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/strip-path-prefix-1.c -O2 execution test FAIL: c-c++-common/asan/strip-path-prefix-1.c -O2 -flto -flto-partition=3D= none=20 execution test FAIL: c-c++-common/asan/strip-path-prefix-1.c -O2 -flto execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O0 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O1 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O3 -fomit-frame-pointer=20 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O3 -g execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -Os execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 -flto -flto-partition=3Dn= one=20 execution test FAIL: c-c++-common/asan/strncpy-overflow-1.c -O2 -flto execution test FAIL: c-c++-common/asan/use-after-free-1.c -O0 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O1 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O2 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O3 -fomit-frame-pointer execu= tion test FAIL: c-c++-common/asan/use-after-free-1.c -O3 -g execution test FAIL: c-c++-common/asan/use-after-free-1.c -Os execution test FAIL: c-c++-common/asan/use-after-free-1.c -O2 -flto -flto-partition=3Dnon= e=20 execution test FAIL: c-c++-common/asan/use-after-free-1.c -O2 -flto execution test =3D=3D=3D gcc Summary for unix/-m64 =3D=3D=3D # of expected passes 178 # of unexpected failures 70 # of unsupported tests 101 =3D=3D=3D gcc Summary =3D=3D=3D # of expected passes 496 # of unexpected failures 70 # of unsupported tests 202 Compiler version: 4.9.0 20131104 (experimental) (GCC)=20 Platform: x86_64-apple-darwin12.5.0 configure flags: --prefix=3D/sw --prefix=3D/sw/lib/gcc4.9 --mandir=3D/sw/sh= are/man --infodir=3D/sw/lib/gcc4.9/info --enable-languages=3Dc,c++,fortran,lto,objc,obj-c++,java --with-gmp=3D/sw --with-libiconv-prefix=3D/sw --with-isl=3D/sw --with-cloog=3D/sw --with-mpc= =3D/sw --with-system-zlib --enable-checking=3Dyes --x-includes=3D/usr/X11R6/include --x-libraries=3D/usr/X11R6/lib --program-suffix=3D-fsf-4.9 >>From gcc-bugs-return-433512-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Nov 05 00:23:02 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 22852 invoked by alias); 5 Nov 2013 00:23:02 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 19316 invoked by uid 48); 5 Nov 2013 00:21:00 -0000 From: "kargl at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/58995] New: Use of -ldl in libcilkrts breaks bootstrap Date: Tue, 05 Nov 2013 00:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: kargl at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg00289.txt.bz2 Content-length: 1185 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58995 Bug ID: 58995 Summary: Use of -ldl in libcilkrts breaks bootstrap Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: kargl at gcc dot gnu.org bsupc++/.libs -lpthread -ldl -L/home/sgk/gcc/obj4x/./gcc /home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libstdc++-v3/src/.libs/libstdc++.so -lm -lc -lgcc_s /home/sgk/gcc/obj4x/./gcc/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libcilkrts.so.5 -o .libs/libcilkrts.so.5 /usr/bin/ld: cannot find -ldl collect2: error: ld returned 1 exit status gmake[2]: *** [libcilkrts.la] Error 1 gmake[2]: Leaving directory `/usr/home/sgk/gcc/obj4x/x86_64-unknown-freebsd10.0/libcilkrts' gmake[1]: *** [all-target-libcilkrts] Error 2 gmake[1]: Leaving directory `/usr/home/sgk/gcc/obj4x' gmake: *** [all] Error 2 This is caused by the hardcoded reference to libdl. troutmask:sgk[319] grep ldl libcilkrts/Makefile.am AM_LDFLAGS = -lpthread -ldl libcilkrts_la_LDFLAGS += -lpthread -ldl Please fix.