[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/6858] New: Linking with -shared should imply --allow-shlib-und
From: |
kris dot van dot hees at oracle dot com |
Subject: |
[Bug gold/6858] New: Linking with -shared should imply --allow-shlib-undefined |
Date: |
26 Aug 2008 13:50:49 -0000 |
The old linker enabled --allow-shlib-undefined behaviour when the -shared option
is passed. Gold doesn't currently do that, causing various projects to not
build correctly.
The patch to fix this problem is quite trivial:
RCS file: /cvs/src/src/gold/options.cc,v
retrieving revision 1.75
diff -r1.75 options.cc
766a767,769
> if (this->shared() && !this->user_set_allow_shlib_undefined())
> this->set_allow_shlib_undefined(true);
>
I'll post it to the mailing list for approval.
--
Summary: Linking with -shared should imply --allow-shlib-
undefined
Product: binutils
Version: 2.19 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gold
AssignedTo: ian at airs dot com
ReportedBy: kris dot van dot hees at oracle dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=6858
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gold/6858] New: Linking with -shared should imply --allow-shlib-undefined,
kris dot van dot hees at oracle dot com <=