summaryrefslogtreecommitdiffstats
path: root/package/gcc
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-06-10 20:11:04 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-28 22:22:27 +0200
commitb28d859c0655cb95ddb194bf244c213fad03eb9c (patch)
tree0ebddcfe9064ced582883def71533773c52f5521 /package/gcc
parent78968330e3293f622e5f4a4dbbe98ba5665034fa (diff)
downloadbuildroot-b28d859c0655cb95ddb194bf244c213fad03eb9c.tar.gz
buildroot-b28d859c0655cb95ddb194bf244c213fad03eb9c.zip
pixiewps: fix static linking with uclibc-ng
Fixes following linking error with uClibc-ng: /home/peko/autobuild/instance-0/output/host/lib/gcc/powerpc-buildroot-linux-uclibc/7.3.0/libgcc.a(unwind-dw2-fde-dip.o): In function `_Unwind_Find_FDE': /home/peko/autobuild/instance-0/output/build/host-gcc-final-7.3.0/build/powerpc-buildroot-linux-uclibc/libgcc/../../../libgcc/unwind-dw2-fde-dip.c:469: undefined reference to `dl_iterate_phdr' collect2: error: ld returned 1 exit status Since uClibc-ng 1.0.18 a circular dependency between libc and libgcc exist, when static linking is used. It can be resolved by the compiler when -static is correctly passed in the linking step. So use TARGET_CONFIGURE_OPTS to pass CC as well as LDFLAGS to make Fixes: - http://autobuild.buildroot.net/results/d9f0311538c8db1196839e36af3f6ef4e403be2b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/gcc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud