Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0, 2.0.0-alpha
-
None
-
Ubuntu Precise, Ubuntu Oneiric, Debian Unstable
-
Reviewed
Description
Recent releases of Ubuntu and Debian have switched to using --as-needed as default when linking binaries.
As a result the AC_COMPUTE_NEEDED_DSO fails to find the required DSO names during execution of configure resulting in a build failure.
Explicitly using "Wl,-no-as-needed" in this macro when required resolves this issue.
See http://wiki.debian.org/ToolChain/DSOLinking for a few more details
Attachments
Attachments
Issue Links
- is depended upon by
-
BIGTOP-280 Hadoop native fails to compile with default linker option of --as-needed
- Resolved
- is duplicated by
-
HADOOP-8196 avoid linker's stripping of dead code from interfering with configure's library name resolution
- Resolved
- is related to
-
BIGTOP-280 Hadoop native fails to compile with default linker option of --as-needed
- Resolved
-
HADOOP-7979 Native code: configure LDFLAGS and CXXFLAGS to fix the build on systems like Ubuntu 11.10
- Resolved