aboutsummaryrefslogtreecommitdiff
path: root/patches/glibc/2.18/106-dl-open-array-bounds.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-21 23:56:59 -0800
committerAlexey Neyman <stilor@att.net>2017-02-22 22:17:49 -0800
commit8397ad2c1a71992b441d73802f45be582c37b1e7 (patch)
tree6380992467e685751135f59f4becd784c2c771df /patches/glibc/2.18/106-dl-open-array-bounds.patch
parent1468e996f75fe7b9c23c883d9367633cf3d0177e (diff)
downloadcrosstool-ng-8397ad2c1a71992b441d73802f45be582c37b1e7.tar.gz
crosstool-ng-8397ad2c1a71992b441d73802f45be582c37b1e7.tar.bz2
crosstool-ng-8397ad2c1a71992b441d73802f45be582c37b1e7.zip
Fix the build of elf2flt on Cygwin
The -lcygwin -lc actually breaks the build: elf2flt picks up the symbols for getopt/optarg via <getopt.h> in binutils-X.Y/include, where optarg is declared without dllimport attribute. Therefore it pulls in getopt() from libc/libcygwin, but since optarg is not prefixed with _imp__, it is pulled from libiberty. But the object file in libiberty also contains getopt() thus resulting in multiple definitions thereof. While there, kill extraneous -ldl passed into configure - configure detects -ldl successfully. Upstream: https://github.com/uclinux-dev/elf2flt/pull/6 Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc/2.18/106-dl-open-array-bounds.patch')
0 files changed, 0 insertions, 0 deletions