bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gprofng/30281] error: multiple definition of `pwrite@GLIBC_2.2'; on


From: vladimir.mezentsev at oracle dot com
Subject: [Bug gprofng/30281] error: multiple definition of `pwrite@GLIBC_2.2'; on i586-linux-gnu
Date: Tue, 28 Mar 2023 20:00:02 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=30281

Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Vladimir Mezentsev <vladimir.mezentsev at oracle dot com> 
---
I don't have SUSE Linux.
But I can reproduce the similar problem on OL9.
When I build libgp-sync.so (synctrace.) with -flto=auto or -flto=1, I see:
<....>/synctrace.c:669: multiple definition of `pthread_cond_wait'
/bin/ld: /tmp/ccw8LL6P.ltrans0.ltrans.o: in function `pthread_cond_timedwait':
<....>/synctrace.c:720: multiple definition of `pthread_cond_timedwait'
/bin/ld: /tmp/ccw8LL6P.ltrans0.ltrans.o: in function `pthread_join':
<....>/synctrace.c:768: multiple definition of `pthread_join'
/bin/ld: /tmp/ccw8LL6P.ltrans0.ltrans.o: in function `sem_wait':
<....>/synctrace.c:816: multiple definition of `sem_wait'
collect2: error: ld returned 1 exit status

It looks like a compiler bug.
But I don't know yet what a real problem is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]