This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/68195] gcc//ld produces invalid ABI results (cxx11 problem?)


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68195

--- Comment #3 from Evgeniy Dushistov <dushistov at mail dot ru> ---
I build gcc with last commit:
commit 06d6724083a2cb1f35e36f4a0db3025bfde20667
Author: nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Wed Nov 4 17:01:23 2015 +0000

        * libgomp.oacc-c-c++-common/loop-red-g-1.c: New.
        * libgomp.oacc-c-c++-common/loop-red-gwv-1.c: New.
        * libgomp.oacc-c-c++-common/loop-red-v-1.c: New.
        * libgomp.oacc-c-c++-common/loop-red-v-2.c: New.
        * libgomp.oacc-c-c++-common/loop-red-w-1.c: New.
        * libgomp.oacc-c-c++-common/loop-red-w-2.c: New.
        * libgomp.oacc-c-c++-common/loop-red-wv-1.c: New.
        * libgomp.oacc-fortran/reduction-5.f90: Avoid reference var.


    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229770
138bc75d-0d04-0410-961f-82ee72b054a4

$/home/evgeniy/local/bin/g++ --version | head -n 1
g++ (GCC) 6.0.0 20151104 (experimental)

$ LANG=C make
/home/evgeniy/local/bin/g++ -std=c++03 -g3 -shared -fPIC -o libmyLib.so Lib.cpp
-O2
/home/evgeniy/local/bin/g++ -std=c++11 -g3 main.cpp -o main -L. -l myLib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/evgeniy/local/lib64:./ ./main
Makefile:7: recipe for target 'test1' failed
make: *** [test1] Segmentation fault

So the bug should be in trunk also, linux/amd64

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]