Opened 10 years ago
Last modified 2 years ago
#46469 assigned defect
libgcc-devel @5-20150104: ld: absolute addressing (perhaps -mdynamic-no-pic) used in _byte_common_op_match_null_string_p from ../libiberty/pic/libiberty.a(regex.o) not allowed in slidable image
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | leopard powerpc | Cc: | larryv (Lawrence Velázquez), mascguy (Christopher Nielsen), michaelld (Michael Dickens), cjones051073 (Chris Jones) |
Port: | libgcc-devel |
Description
Building libgcc-devel fails (after 13.67 hours) on my PowerBook G4 running Leopard, with this error:
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _byte_common_op_match_null_string_p from ../libiberty/pic/libiberty.a(regex.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
Attachments (1)
Change History (5)
Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | libgcc-devel-5-20150104.main.log.bz2 added |
---|
comment:1 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | changed from mww@… to macports-tickets@… |
---|---|
Status: | new → assigned |
comment:2 Changed 3 years ago by michaelld (Michael Dickens)
comment:3 follow-up: 4 Changed 3 years ago by kencu (Ken)
I have built up to gcc11 on Tiger i386, bootstrapping it with the gcc7-bootstrap port I am working on.
I haven't tried Tiger/Leopard PPC, but I believe it will work as Iain says it does.
When bootstrapping with clang, the i386 builds of all newer gcc versions (gcc7+ I think) are broken without this patch:
comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | mascguy michaelld cjones051073 added |
---|
Replying to kencu:
I have built up to gcc11 on Tiger i386, bootstrapping it with the gcc7-bootstrap port I am working on.
I haven't tried Tiger/Leopard PPC, but I believe it will work as Iain says it does.
When bootstrapping with clang, the i386 builds of all newer gcc versions (gcc7+ I think) are broken without this patch:
I haven't looked at the history of gcc-devel
and libgcc-devel
, as they've evolved significantly over the past 13 months. But is this still an issue?
Is this still relevant with gcc-devel now at 12-20210801?