[crosstool-ng/crosstool-ng] 5d5465: debug/gdb: properly link with expat
Alexey Neyman
stilor@att.net
Tue Dec 6 02:24:00 GMT 2016
Branch: refs/heads/master
Home: https://github.com/crosstool-ng/crosstool-ng
Commit: 5d5465307b8dac17855d6fe74653fe634144f91b
https://github.com/crosstool-ng/crosstool-ng/commit/5d5465307b8dac17855d6fe74653fe634144f91b
Author: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Date: 2016-09-09 (Fri, 09 Sep 2016)
Changed paths:
M scripts/build/debug/300-gdb.sh
Log Message:
-----------
debug/gdb: properly link with expat
This patch fixes libexpat detection for gdb-native and
gdb-cross static builds.
For gdb-native build configure should not touch system
/usr/{lib,include} directories while looking for libexpat.
To fix this we pass --without-libexpat-prefix flag
to configure script.
For gdb-cross build configure is allowed to investigate
system /usr/{lib,include} directories, but it does not
hurt to disable this behavior. In this case configure
falls back to -lexpat, which works as expected.
For more info:
http://marc.info/?l=gnulib-bug&m=129660262901148&w=2
Signed-off-by: Kirill Smirnov <kirill.k.smirnov@gmail.com>
Commit: 5fd69f7652b0854b0eeba6b96c6a80ed0efc67a2
https://github.com/crosstool-ng/crosstool-ng/commit/5fd69f7652b0854b0eeba6b96c6a80ed0efc67a2
Author: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Date: 2016-09-10 (Sat, 10 Sep 2016)
Changed paths:
M scripts/build/companion_libs/200-libelf.sh
M scripts/build/companion_libs/210-expat.sh
M scripts/build/companion_libs/220-ncurses.sh
Log Message:
-----------
complibs: let mingw-gcc find target companion libs
mingw-gcc searches for include and libs in <sysroot>/mingw
directory while non-mingw-gcc uses <sysroot>/usr. This patch
sets an appropriate prefix for target companion libs.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Commit: f64f561e6f5aee05ae93af7443e144453fe31700
https://github.com/crosstool-ng/crosstool-ng/commit/f64f561e6f5aee05ae93af7443e144453fe31700
Author: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Date: 2016-09-12 (Mon, 12 Sep 2016)
Changed paths:
M scripts/build/debug/300-gdb.sh
Log Message:
-----------
debug/gdb: Add comments for untrivial flags.
The necessity of --without-libexpat-prefix is not
obvious and needs comments.
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Commit: ee1c04378c471dfea04808963db78a91fc89d62e
https://github.com/crosstool-ng/crosstool-ng/commit/ee1c04378c471dfea04808963db78a91fc89d62e
Author: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M scripts/build/debug/300-gdb.sh
Log Message:
-----------
debug/gdb: restore comments
There are two separate issues with gdb configure usage:
1) inspecting build system libraries while cross-compiling;
2) preferring a shared library over static one.
The first usage issue is described and fixed now.
The second issue was described but the notes were removed
for some reason. This patch restores those notes.
Suggested-by: Alexey Neyman <stilor@att.net>
Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
Commit: f5a375e4070e484a5fc196f1cb2014f528693ed9
https://github.com/crosstool-ng/crosstool-ng/commit/f5a375e4070e484a5fc196f1cb2014f528693ed9
Author: Alexey Neyman <stilor@att.net>
Date: 2016-12-05 (Mon, 05 Dec 2016)
Changed paths:
M scripts/build/companion_libs/200-libelf.sh
M scripts/build/companion_libs/210-expat.sh
M scripts/build/companion_libs/220-ncurses.sh
M scripts/build/debug/300-gdb.sh
Log Message:
-----------
Merge pull request #443 from KirillSmirnov/gdb-native
debug/gdb: properly link with expat
Compare: https://github.com/crosstool-ng/crosstool-ng/compare/4042269de621...f5a375e4070e
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list