[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/19553] New: linking against libs that require pthreads breaks du
From: |
vapier at gentoo dot org |
Subject: |
[Bug ld/19553] New: linking against libs that require pthreads breaks due to symbol changes |
Date: |
Mon, 01 Feb 2016 21:08:52 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19553
Bug ID: 19553
Summary: linking against libs that require pthreads breaks due
to symbol changes
Product: binutils
Version: 2.26
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: hjl.tools at gmail dot com
Reporter: vapier at gentoo dot org
Depends on: 18720
Target Milestone: ---
Target: x86_64-linux-gnu
after the change for bug 18720 landed, trying to use libs that use pthreads
under glibc fails when the main app itself doesn't use pthreads.
example:
$ echo 'main() { fork(); }' > test.c
$ gcc test.c -fsanitize=address
ld: /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/libasan.so: undefined reference to
symbol 'address@hidden'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
this is a regression wrt binutils 2.25.
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=18720
[Bug 18720] No symbol version section for versioned symbol address@hidden'
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/19553] New: linking against libs that require pthreads breaks due to symbol changes,
vapier at gentoo dot org <=
- [Bug ld/19553] linking against libs that require pthreads breaks due to symbol changes, hjl.tools at gmail dot com, 2016/02/01
- [Bug ld/19553] linking against libs that require pthreads breaks due to symbol changes, hjl.tools at gmail dot com, 2016/02/01
- [Bug ld/19553] linking against libs that require pthreads breaks due to symbol changes, cvs-commit at gcc dot gnu.org, 2016/02/01
- [Bug ld/19553] linking against libs that require pthreads breaks due to symbol changes, hjl.tools at gmail dot com, 2016/02/01
- [Bug ld/19553] linking against libs that require pthreads breaks due to symbol changes, cvs-commit at gcc dot gnu.org, 2016/02/26
- [Bug ld/19553] linking against libs that require pthreads breaks due to symbol changes, hjl.tools at gmail dot com, 2016/02/26