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

Re: [Pkg-utopia-maintainers] Bug#835550: network-manager: FTBFS on mips* and powerpc - NetworkManager segfaults



Am 27.08.2016 um 10:16 schrieb Michael Biebl:
> Hi
> 
> Am 27.08.2016 um 01:52 schrieb James Cowgill:
>> network-manager FTBFS on all mips arches and on powerpc with this error:
> 
> 
>>> make[9]: Leaving directory '/«PKGBUILDDIR»/src/settings/plugins/ibft/tests'
>>> LD_BIND_NOW=1 LD_PRELOAD=./../.libs/libnm-settings-plugin-ibft.so ../../../../../src/NetworkManager --version >/dev/null
>>> /bin/bash: line 1: 10923 Segmentation fault      LD_BIND_NOW=1 LD_PRELOAD=./../.libs/libnm-settings-plugin-ibft.so ../../../../../src/NetworkManager --version > /dev/null
> 
> Yeah, I've already seen that and I'm quite puzzled by it.
> 
>>> I tried to build it on mips64el and simply trying to run 'NetworkManager
>> --version' prints out the correct version, then a load of garbage before
>> finally segfaulting.
>>
>> I haven't done extensive testing, but this bug smells very similar to
>> bug #816059 in lua and is related to using version scripts on certain
>> architectures.
> 
> The version script (in libnm) was already used in 1.2.4-1, which didn't
> FTBFS. I wonder if this is a toolchhain issue on those architectures and
> not a bug in NM.

This test is new in 1.4 and was added in [1] to uncover "toolchain
issues". The commit mentions that building without garbage collection
(--disable-ld-gc) should fix the issue. I tried that on a porter machine
(ppc, partch.debian.org), but it didn't make a difference.

Added Lubomir to CC, who added that check upstream. Maybe he has some
input on this.

Regards,
Michael


[1]
https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=aa0ebcc3246c6f10c0c90e9e75fa01902e7163bb
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: