[systemd-devel] Compilation with gcc-4.9 fails
Cristian Rodríguez
crrodriguez at opensuse.org
Tue Apr 22 18:17:38 PDT 2014
El 22/04/14 20:05, Jan Engelhardt escribió:
>
> On Monday 2014-03-03 07:51, Jan Engelhardt wrote:
>>
>> When building with GCC 4.9.0 [svn r208221], then the following happens:
>> [...]
>> $ nm src/libsystemd/sd-bus/.libs/libsystemd_la-sd-bus.o
>> 0000000000000001 C __gnu_lto_slim
>> 0000000000000001 C __gnu_lto_v1
>> $ make
>> [...]
>> CCLD libgudev-1.0.la
>> /usr/bin/ld.gold: error: .libs/libgudev-1.0.ver:2:1: syntax error, unexpected LOCAL, expecting STRING or QUOTED_STRING or EXTERN
>> /usr/bin/ld.gold: fatal error: unable to parse version script file .libs/libgudev-1.0.ver
>> collect2: error: ld returned 1 exit status
>
> A workaround is to use
>
> ./configure NM=gcc-nm-4.9
>
>
I was just debugging this (and loosing the remaining hair) , I already
realized this is a bug in some piece of the toolchain by now.. but this
helps very much, thanks :-)
--
Cristian
"I don't know the key to success, but the key to failure is trying to
please everybody."
More information about the systemd-devel
mailing list