https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112959

--- Comment #15 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The install.texi changes don't seem clear enough to me. I was using --with-as
and --with-ld to use a new binutils from the ports collection and still
couldn't bootstrap. IIRC the problem was that GCC depends on GNU objdump, and I
don't think we have a --with-objdump option for configure.

Do you need to use PATH=/usr/local/bin:$PATH to build GCC? If so, could we
document that?

Saying "bootstrapping against the latest GNU binutils or the version found in
the devel/binutils port" doesn't give me any clue how to solve the errors I
showed in https://gcc.gnu.org/pipermail/gcc/2024-April/243825.html


Excess errors:
/usr/local/bin/ld: /tmp//ccev946q.o: relocation R_X86_64_32 against
symbol `_ZTIN10__cxxabiv115__forced_unwindE@@CXXABI_1.3.2' can not be
used when making a PDE object; recompile with -fPIE
/usr/local/bin/ld: failed to set dynamic section sizes: bad value

Reply via email to