Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] RFC: deprecate BR2_GCC_SHARED_LIBGCC
@ 2012-09-19 23:38 Arnout Vandecappelle
  0 siblings, 0 replies; only message in thread
From: Arnout Vandecappelle @ 2012-09-19 23:38 UTC (permalink / raw)
  To: buildroot

  I've been playing around a bit with the options of the buildroot toolchain,
and disabled BR2_GCC_SHARED_LIBGCC.  Turns out that this makes it impossible
to build shared C++ libraries, because they have to be linked with a shared
libstdc++.so... Also, it looks like libgcc_s.so is still built, but it isn't
copied to the target directory.  So there's a risk that something links against
it and fails to run.

  So I propose to remove the BR2_GCC_SHARED_LIBGCC option, and instead make it
equal to !BR2_PREFER_STATIC.  That will probably still cause problems in some
corner cases, but we reduce the room for error.

  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-19 23:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19 23:38 [Buildroot] RFC: deprecate BR2_GCC_SHARED_LIBGCC Arnout Vandecappelle

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