https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #10 from Stas Sergeev ---
Hmm, seems it has --libs-only-l and --libs-only-other,
so that works too.
Thanks!
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32942
Sam James changed:
What|Removed |Added
CC||mark at harmstone dot com
--
You are rec
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #9 from Stas Sergeev ---
To clarify: I used to do
LDFLAGS=`pkg-config --libs`
because I though LDFLAGS supports
both things. `pkg-config --libs`
gives lots of ldflags, plus -lXX stuff.
If we are to split this, it would
be good if p
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #8 from Stas Sergeev ---
Thanks, that seems to work.
Unfortunately pkg-config doesn't
have `--ldflags`, which is why
I haven't done that initially.
This is minor and can be ignored,
but maybe you have the plans to
add --ldflags to
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #7 from Sam James ---
Thanks, this makes more sense now. Passing libraries in LDFLAGS is discouraged
for exactly this reason. One is supposed to use LIBS or similar instead.
--
You are receiving this mail because:
You are on the
https://sourceware.org/bugzilla/show_bug.cgi?id=32942
Iouri Kharon changed:
What|Removed |Added
Attachment #16072|0 |1
is obsolete|
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #6 from Stas Sergeev ---
So in my case I am providing (via LDFLAGS)
a lib with an alternate implementation
of the function checked with AC_CHECK_FUNC.
This works with ld.lld, but fails with
GNU ld, as configure then can't link it
(
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #5 from Stas Sergeev ---
The problem is not in a makefile,
but in autotools itself. Consider
this example performed on a plain
"ncurses" source tree:
LDFLAGS="-Wl,--as-needed -lgcc" ./configure
configure passes because -lgcc
is
https://sourceware.org/bugzilla/show_bug.cgi?id=29457
Sam James changed:
What|Removed |Added
See Also||https://sourceware.org/bugz
https://sourceware.org/bugzilla/show_bug.cgi?id=32951
Bug ID: 32951
Summary: Support NO_COLOR for objdump
Product: binutils
Version: 2.45 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #4 from Sam James ---
(In reply to Stas Sergeev from comment #2)
> But I can't even change the link
> order: configure puts LDFLAGS before
> conftest.c, so all configure tests
> start to fail when --as-needed is
> added to LDFLAGS.
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #3 from Stas Sergeev ---
Maybe gcc, when compiling directly
from .c file, should put the intermediate
object at the beginning of the linker cmdline?
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
--- Comment #2 from Stas Sergeev ---
But I can't even change the link
order: configure puts LDFLAGS before
conftest.c, so all configure tests
start to fail when --as-needed is
added to LDFLAGS.
What would you suggest as a fix then?
--
You a
https://sourceware.org/bugzilla/show_bug.cgi?id=32892
--- Comment #8 from Vladimir Mezentsev
---
In my build g++ generates Dwarf-4.
In the attached gperf, g++ generated Dwarf-5.
For DW_AT_ranges gprofng tries to read the .debug_ranges section, which is
missing.
--
You are receiving this mail b
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
Sam James changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=32950
Bug ID: 32950
Summary: --as-needed breaks linking
Product: binutils
Version: 2.43.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
https://sourceware.org/bugzilla/show_bug.cgi?id=32892
Vladimir Mezentsev changed:
What|Removed |Added
Status|REOPENED|ASSIGNED
--- Comment #7 from Vla
Replying to this email means your email address will be shared with the
team that works on this product.
https://issues.oss-fuzz.com/issues/416633165
Reference Info: 416633165 binutils:fuzz_as: Integer-overflow in
size_inc_line_addr
component: Public Trackers > 1362134 > OSS Fuzz
status: New
re
Replying to this email means your email address will be shared with the
team that works on this product.
https://issues.oss-fuzz.com/issues/416633165
Changed
Disclosure: → Aug 7, 2025
___
Reference Info: 416633165 binutils:fuzz_as: Integer-overflow in
size_inc_line
https://sourceware.org/bugzilla/show_bug.cgi?id=16693
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #17 fr
https://sourceware.org/bugzilla/show_bug.cgi?id=32443
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #1 fro
21 matches
Mail list logo