[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/13891] New: Binutils is impossible to static link due to b
From: |
bugdal at aerifal dot cx |
Subject: |
[Bug binutils/13891] New: Binutils is impossible to static link due to broken libtool behavior |
Date: |
Thu, 22 Mar 2012 04:47:33 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13891
Bug #: 13891
Summary: Binutils is impossible to static link due to broken
libtool behavior
Product: binutils
Version: unspecified
Status: NEW
Severity: critical
Priority: P2
Component: binutils
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
I need static linked binutils, but libtool is intercepting and disabling any
-static I add to CFLAGS or LDFLAGS. According to the libtool documentation,
-all-static is required in place of -static to get the same behavior, but
-all-static is not usable in CFLAGS or LDFLAGS because the binutils build
process also invokes the compiler/linker without libtool on many occasions, and
the unknown option -all-static will result in an error that stops the build.
As far as I can tell, the only solution is to fix the broken libtool behavior.
I'm filing a bug report with libtool as well, but as this seems to be the
intended behavior (despite the impossibility of it working), I'm not optimistic
about getting a fix.
My fix is changing -all-static) on line 4562 of ltmain.sh to
-all-static|-static)
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug binutils/13891] New: Binutils is impossible to static link due to broken libtool behavior,
bugdal at aerifal dot cx <=
- [Bug binutils/13891] Binutils is impossible to static link due to broken libtool behavior, address@hidden, 2012/03/22
- [Bug binutils/13891] Binutils is impossible to static link due to broken libtool behavior, address@hidden, 2012/03/22
- [Bug binutils/13891] Binutils is impossible to static link due to broken libtool behavior, vapier at gentoo dot org, 2012/03/23
- [Bug binutils/13891] Binutils is impossible to static link due to broken libtool behavior, bugdal at aerifal dot cx, 2012/03/24
- [Bug binutils/13891] Binutils is impossible to static link due to broken libtool behavior, vapier at gentoo dot org, 2012/03/25