summaryrefslogtreecommitdiffstats
path: root/package/systemd/systemd-fix-page-size.patch
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2014-02-11 16:25:22 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-02-11 19:33:19 +0100
commitdd1c4f65b1f377c79a642f1f351e0b3e1f12a2c9 (patch)
tree1c5c7e186eb4c35bb11bc212b1bfe68afd8b367a /package/systemd/systemd-fix-page-size.patch
parenta728e2fe3525ffb8237e520ec2fb859d1c95fccc (diff)
downloadbuildroot-dd1c4f65b1f377c79a642f1f351e0b3e1f12a2c9.tar.gz
buildroot-dd1c4f65b1f377c79a642f1f351e0b3e1f12a2c9.zip
gcc: xtensa: fix __builtin_frame_address use with shared libgcc
The xtensa port uses __xtensa_libgcc_window_spill in libgcc to implement __builtin_frame_address. This symbol is local/hidden in libgcc. This is not a problem when linking against static libgcc. But g++ defaults to -shared-libgcc, thus breaking link against C++ shared libraries that are using __builtin_frame_address as follows: ld: test: hidden symbol `__xtensa_libgcc_window_spill' in .../libgcc.a(lib2funcs.o) is referenced by DSO Add upstream patches that make libgcc_s.so a linker script that links in unresolved symbols from the static libgcc, similar to the ARM and PowerPC ports. Fixes: http://autobuild.buildroot.net/results/e2d/e2d1a763fa86b8575e2e48e6d73c018175f43e7c/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/systemd/systemd-fix-page-size.patch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud