This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH] x86: Use sysdep.o from libc.a in static libraries


On 08/04/2016 05:57 PM, Carlos O'Donell wrote:
On 08/04/2016 05:19 AM, Florian Weimer wrote:
Fedora needs to relink libpthread.a into a single object file to
support some application needs. Starting with

commit fb1cf108115f7e2e4510859693431b3473657d77
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Oct 13 11:58:53 2015 -0700

    Add INLINE_SYSCALL_ERROR_RETURN_VALUE

this prevents static linking due to multiple copies of the functions
from sysdep.o.

The attached patch skips adding sysdep.o for static libraries. Okay
to commit?

(No bug filed because this is a downstream bug only, but dropping the
additional copy of sysdep.o seems to make sense upstream as well.)

Just to be clear: User visible changes need bugs, downstream or not.

I filed bug 20452 to track this.

Florian


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