https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #12 from Pawel Sikora ---
(In reply to Maxim Ostapenko from comment #11)
> Created attachment 39882 [details]
> Untested fix
>
> Untested fix (works for me with attached testcase).
>
this fix works for me. thanks.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #11 from Maxim Ostapenko ---
Created attachment 39882
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39882&action=edit
Untested fix
Untested fix (works for me with attached testcase).
To sum up:
1) dlopen grabs a __GI___pthre
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #10 from Maxim Ostapenko ---
(In reply to Pawel Sikora from comment #9)
> (In reply to Maxim Ostapenko from comment #8)
>
> > Hm, perhaps environment issue. What version of Glibc do you use?
>
> glibc-2.23.1-10.fc24.x86_64
Reproduc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #9 from Pawel Sikora ---
(In reply to Maxim Ostapenko from comment #8)
> Hm, perhaps environment issue. What version of Glibc do you use?
glibc-2.23.1-10.fc24.x86_64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #8 from Maxim Ostapenko ---
(In reply to Pawel Sikora from comment #7)
> (In reply to Maxim Ostapenko from comment #6)
> > The attached testcase works for me with current trunk GCC:
> >
> > max@max:/tmp/bug$ make
> > rm -f m *.so
> >
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #7 from Pawel Sikora ---
(In reply to Maxim Ostapenko from comment #6)
> The attached testcase works for me with current trunk GCC:
>
> max@max:/tmp/bug$ make
> rm -f m *.so
> ~/install/master/bin/g++ -fuse-ld=gold -g2 -Og -flto -fsa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
Maxim Ostapenko changed:
What|Removed |Added
CC||m.ostapenko at samsung dot com
--- Com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #5 from Kostya Serebryany ---
(In reply to Pawel Sikora from comment #3)
> (In reply to Kostya Serebryany from comment #2)
> > Is -flto important here?
> > Does this happen with clang? (does not happen for me)
> > Does this happen if
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #4 from Pawel Sikora ---
(In reply to Pawel Sikora from comment #3)
> (In reply to Kostya Serebryany from comment #2)
> > Is -flto important here?
> > Does this happen with clang? (does not happen for me)
> > Does this happen if you u
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #3 from Pawel Sikora ---
(In reply to Kostya Serebryany from comment #2)
> Is -flto important here?
> Does this happen with clang? (does not happen for me)
> Does this happen if you use statically linked asan (-static-libasan)?
ad1).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #2 from Kostya Serebryany ---
Is -flto important here?
Does this happen with clang? (does not happen for me)
Does this happen if you use statically linked asan (-static-libasan)?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77982
--- Comment #1 from Pawel Sikora ---
Created attachment 39842
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39842&action=edit
reduced testcase.
% gdb ./m
GNU gdb (GDB) Fedora 7.11.1-86.fc24
(gdb) r
Starting program: /home/pawels/src/bug
12 matches
Mail list logo