-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wireshark: (mips64r6el) disable LTO, append -mxgot to workaround GOT …
…size limit
- Loading branch information
1 parent
e88eb58
commit f67f09a
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
export PATH="$PATH:/usr/lib/qt5/bin" | ||
|
||
# FIXME: /usr/bin/ld: not enough GOT space for local GOT entries | ||
# /usr/bin/ld: BFD (GNU Binutils) 2.41 internal error, aborting at | ||
# .../binutils-2.41/bfd/elfxx-mips.c:10714 in _bfd_mips_elf_relocate_section | ||
if ab_match_arch mips64r6el; then | ||
abinfo "Appending -mxgot to fix linkage ..." | ||
export LDFLAGS="${LDFLAGS} -mxgot" | ||
fi |