Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] dbus build fails since the bump of systemd to version 218
@ 2014-12-12 22:38 Thierry Bultel
  2014-12-13 21:48 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Thierry Bultel @ 2014-12-12 22:38 UTC (permalink / raw)
  To: buildroot

Hi,

Since the bump, there are undefined symbols when building dbus-1.8.10:

  CCLD     dbus-daemon
   CCLD     dbus-daemon-launch-helper
/shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so: 
undefined reference to `__stop_BUS_ERROR_MAP'
/shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so: 
undefined reference to `__start_BUS_ERROR_MAP'
collect2: error: ld returned 1 exit status
/shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so: 
undefined reference to `__stop_BUS_ERROR_MAP'
/shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so: 
undefined reference to `__start_BUS_ERROR_MAP'
collect2: error: ld returned 1 exit status


Regards
Thierry

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] dbus build fails since the bump of systemd to version 218
  2014-12-12 22:38 [Buildroot] dbus build fails since the bump of systemd to version 218 Thierry Bultel
@ 2014-12-13 21:48 ` Peter Korsgaard
  2014-12-14 10:14   ` Thierry Bultel
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2014-12-13 21:48 UTC (permalink / raw)
  To: buildroot

>>>>> "Thierry" == Thierry Bultel <tbultel@free.fr> writes:

 > Hi,
 > Since the bump, there are undefined symbols when building dbus-1.8.10:

 >  CCLD     dbus-daemon
 >   CCLD     dbus-daemon-launch-helper
 > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
 > undefined reference to `__stop_BUS_ERROR_MAP'
 > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
 > undefined reference to `__start_BUS_ERROR_MAP'
 > collect2: error: ld returned 1 exit status
 > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
 > undefined reference to `__stop_BUS_ERROR_MAP'
 > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
 > undefined reference to `__start_BUS_ERROR_MAP'
 > collect2: error: ld returned 1 exit status

What toolchain is this? According to upstream it is could be because of
a binutils bug:

https://www.marshut.net/kttspt/build-error-with-218-undefined-reference-to-start-bus-error-map.html

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] dbus build fails since the bump of systemd to version 218
  2014-12-13 21:48 ` Peter Korsgaard
@ 2014-12-14 10:14   ` Thierry Bultel
  2014-12-14 12:18     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Thierry Bultel @ 2014-12-14 10:14 UTC (permalink / raw)
  To: buildroot

Le 13/12/2014 22:48, Peter Korsgaard a ?crit :
>>>>>> "Thierry" == Thierry Bultel <tbultel@free.fr> writes:
>
>   > Hi,
>   > Since the bump, there are undefined symbols when building dbus-1.8.10:
>
>   >  CCLD     dbus-daemon
>   >   CCLD     dbus-daemon-launch-helper
>   > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
>   > undefined reference to `__stop_BUS_ERROR_MAP'
>   > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
>   > undefined reference to `__start_BUS_ERROR_MAP'
>   > collect2: error: ld returned 1 exit status
>   > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
>   > undefined reference to `__stop_BUS_ERROR_MAP'
>   > /shared/buildroot_community/buildroot/output/host/usr/i586-buildroot-linux-gnu/sysroot/usr/lib/libsystemd.so:
>   > undefined reference to `__start_BUS_ERROR_MAP'
>   > collect2: error: ld returned 1 exit status
>
> What toolchain is this? According to upstream it is could be because of
> a binutils bug:
>
> https://www.marshut.net/kttspt/build-error-with-218-undefined-reference-to-start-bus-error-map.html
>


This happens with buildroot toolchain, eglibc 2.18, gcc-4.8.x, binutils 2.22

It does not happen with binutils-2.23.2 and binutils-2.24

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] dbus build fails since the bump of systemd to version 218
  2014-12-14 10:14   ` Thierry Bultel
@ 2014-12-14 12:18     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2014-12-14 12:18 UTC (permalink / raw)
  To: buildroot

>>>>> "Thierry" == Thierry Bultel <tbultel@free.fr> writes:

Hi,

 >> What toolchain is this? According to upstream it is could be because of
 >> a binutils bug:
 >> 
 >> https://www.marshut.net/kttspt/build-error-with-218-undefined-reference-to-start-bus-error-map.html

 > This happens with buildroot toolchain, eglibc 2.18, gcc-4.8.x,
 > binutils 2.22 It does not happen with binutils-2.23.2 and
 > binutils-2.24

Ok, thanks for investigating it. It won't fix it for external
toolchains, but perhaps it is time to bump our default binutils version
to 2.24?

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-12-14 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12 22:38 [Buildroot] dbus build fails since the bump of systemd to version 218 Thierry Bultel
2014-12-13 21:48 ` Peter Korsgaard
2014-12-14 10:14   ` Thierry Bultel
2014-12-14 12:18     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox