Bug#851412: Bug#850887: To the right bug this time: Why do you want us to keep this open?

Michael Biebl biebl at debian.org
Wed Jan 18 08:19:20 GMT 2017


clone 851412 -1
reassign -1 binutils
forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=21054
retitle -1 Forced local symbol rearranging messes up GOT

Hi James

Am 17.01.2017 um 12:18 schrieb James Cowgill:
> On 17/01/17 09:10, Michael Biebl wrote:
>> Am 17.01.2017 um 10:02 schrieb Michael Biebl:
>>> Hi there,
>>>
>>> as additional input, please have a look at [1] which just recently
>>> popped up. There seem to be still unresolved issues with binutils on
>>> mips*.
>>
>> I haven't reassigned this bug report to binutils yet, as I wanted to
>> have confirmation from the mips porters that it's a binutils bug.
>> They sort-of already confirmed it on IRC but wanted to look into it more
>> closely first. In any case, I've CCed them, so maybe they can respond to
>> #850887 or #851412
> 
> I had a closer look yesterday and it looks like a bug in the gold
> linker. You may be able to workaround it by using the bfd linker on mips.
> 
> Upstream bug:
> https://sourceware.org/bugzilla/show_bug.cgi?id=21054

Thanks a lot for your input and for having a look at this issue.
We had a discussion on #debian-release, which I'm quoting for
completeness sake:

<mbiebl> aurel32: are we sure systemd is the only package affected by this?
<aurel32> mbiebl: no it's not only systemd
<aurel32> mbiebl: there are some conditions to have the issue, which is
to use the gold linker
<aurel32> so that's not that many packages given bfd is the default
<aurel32> in addition you need to have symbols with hidden visibility
<aurel32> so clearly we'll have to rebuild a few packages when it's
fixed on the binutils side, but we don't have 2.5 weeks of binaries
<nthykier> aurel32: can we easily compile a list of "gold linker" consumers?
<aurel32> mbiebl: i think having the workaround in systemd will help to
not accumulate too much packages in the queue
<mbiebl> aurel32: I guess as a first step, I'll clone the current
systemd bug and reassign it binutils
<aurel32> nthykier: 1) we can parse the build logs from the last 3 weeks
<aurel32> nthykier: 2) i think there is a way to identify the broken
binaries
<mbiebl> aurel32: and I'll apply the workaround for systemd
<aurel32> mbiebl: ok, thanks
<mbiebl> ifneq ($(filter $(DEB_BUILD_ARCH), mips mipsel mips64el),)
<mbiebl> export DEB_LDFLAGS_MAINT_APPEND = -Wl,-fuse-ld=bfd
<mbiebl> endif
<mbiebl> does that look ok?
<aurel32> it looks fine to me


We plan on uploading src:systemd today with this workaround applied
until binutils is properly fixed.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170118/8cbfe5e9/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list