[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 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-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 fortran/100662] intrinsic::ieee_arithmetic fails on aarch, powerpc architectures on FreeBSD

2021-08-29 Thread andreast at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662

--- Comment #15 from Andreas Tobler  ---
Regarding comment #10, Steve is right with his guess, configure doesn't find
the fenv functionalities needed. The reason is pretty simple, for aarch64 and
powerpc, they are not public. A quick trial showed that if they are visible,
then gfortran is 'happy' and nearly all ieee testcases pass. I did not
investigate the failing parts.
The big issue is, how can we make them available to libm. This is an OS issue
and not a gcc issue.
The only thing I'm confused in gcc land, as Steve as well, why is the file
named fpu-glibc and not fpu-fenv?
Regarding the OS issue, it might take a while to (re)solve this.

[Bug fortran/100662] intrinsic::ieee_arithmetic fails on aarch, powerpc architectures on FreeBSD

2021-08-12 Thread andreast at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100662

--- Comment #13 from Andreas Tobler  ---
I try to find some spare cycles to look into. But I can only investigate the
aarch64 part. The powerpcs are gone here.