CONFIGURE: Don't use DWARF in nasm when linking using gold
This raises `internal error in relocate_section, at ../../gold/i386.cc:3683`
This commit is contained in:
parent
88491aeb97
commit
eda7a61bf7
1 changed files with 4 additions and 0 deletions
4
configure
vendored
4
configure
vendored
|
@ -5676,6 +5676,10 @@ if test "$_have_x86" = yes ; then
|
|||
;;
|
||||
*)
|
||||
append_var NASMFLAGS "-f elf"
|
||||
if $LD $LDFLAGS -Wl,--version 2>/dev/null | grep -q -e 'GNU gold'; then
|
||||
# gold throws an internal error when nasm uses dwarf, force older stabs in this case
|
||||
append_var NASMFLAGS "-F stabs"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
_nasm=yes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue