[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2024-04-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

Andrew Pinski  changed:

   What|Removed |Added

 CC||ro at gcc dot gnu.org

--- Comment #11 from Andrew Pinski  ---
*** Bug 112745 has been marked as a duplicate of this bug. ***

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2024-04-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

--- Comment #10 from Jonathan Wakely  ---
If --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld is required then it
needs to be documented at https://gcc.gnu.org/install/specific.html#x-x-freebsd

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2024-04-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

Jonathan Wakely  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1
   Last reconfirmed||2024-04-10

--- Comment #9 from Jonathan Wakely  ---
ld: error: unable to find library -lc
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:1005: libgcc_s.so] Error 1
gmake[1]: Leaving directory '/home/gcc/build/x86_64-unknown-freebsd14.0/libgcc'

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2020-12-18 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

--- Comment #8 from Thomas Koenig  ---
(In reply to Andreas Tobler from comment #7)
> Any news on this? Or can we close this PR?

Neither. As far as I can determine, this still fails.

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2020-12-18 Thread andreast at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

--- Comment #7 from Andreas Tobler  ---
Any news on this? Or can we close this PR?
TIA,
Andreas

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2020-10-07 Thread andreast at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

--- Comment #6 from Andreas Tobler  ---
First, excuse me Thomas, I was focused on 'Tobias' from the description text.

It seems to pass bootstrap with /usr/bin/ld on FreeBSD-13. The test suite will
tell more.

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2020-10-07 Thread andreast at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

--- Comment #5 from Andreas Tobler  ---
Hi Tobias,

on FreeBSD-12.1, the ld is from binutils 2.17, a really old one.

Try to configure with '--with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld
'. Prerequisite is the installation of the binutils package.

I just tried on FreeBSD-13-trunk, stage one passed with the above config
parameters. (Today's gcc trunk)

Now I try to use the llvm ld, the one which will be /usr/bin/ld from FreeBSD-13
up.

Let me how it works,
Andreas

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2020-10-07 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

Thomas Koenig  changed:

   What|Removed |Added

  Component|target  |bootstrap
 CC||andreast at gcc dot gnu.org

--- Comment #4 from Thomas Koenig  ---
Guess this should be component "bootstrap".

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2020-10-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

--- Comment #2 from Thomas Koenig  ---
Created attachment 49316
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49316&action=edit
output from compilation that failed with -lc

[Bug bootstrap/97304] Boostrap failure on freebsd: ld: error: unable to find library -lc

2020-10-06 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97304

--- Comment #1 from Thomas Koenig  ---
Created attachment 49315
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49315&action=edit
config.log from failed attempt