public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* Build fails - configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES
@ 2018-07-29 22:24 Darrell Reich via fortran
  2018-07-30  7:28 ` Marco Atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Darrell Reich via fortran @ 2018-07-29 22:24 UTC (permalink / raw)
  To: fortran

Does anyone know what this build error means and how to fix it? I’ve successfully built gfortran 8 in the past.

checking for _wfopen... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:10799: configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/cygdrive/c/work/compiler/build-gcc'
make: *** [Makefile:914: all] Error 2

Here’s more context of the commands I’ve typed and the log leading up to the error:

svn update
cd ../build
configure…
make
...
checking for sys/param.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/sem.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
checking for linux/types.h... (cached) no
checking for linux/random.h... (cached) no
checking for ld used by /home/reichd/c/work/compiler/build-gcc/./gcc/xgcc -B/home/reichd/c/work/compiler/build-gcc/./gcc/ -B/usr/local/x86_64-unknown-cygwin/bin/ -B/usr/local/x86_64-unknown-cygwin/lib/ -isystem /usr/local/x86_64-unknown-cygwin/include -isystem /usr/local/x86_64-unknown-cygwin/sys-include   ... (cached) /home/reichd/c/work/compiler/build-gcc/./gcc/collect-ld
checking if the linker (/home/reichd/c/work/compiler/build-gcc/./gcc/collect-ld) is GNU ld... (cached) yes
checking for ld version... 0
checking for ld that supports -Wl,-z,relro... no
checking for sin in -lm... (cached) yes
checking for isinf declaration... no
checking for _isinf declaration... no
checking for isnan declaration... no
checking for _isnan declaration... no
checking for finite declaration... yes
checking for finite... (cached) yes
checking for sincos declaration... yes
checking for sincos... (cached) yes
checking for fpclass declaration... no
checking for _fpclass declaration... no
checking for qfpclass declaration... no
checking for _qfpclass declaration... no
checking for hypot declaration... yes
checking for hypot... (cached) yes
checking for float trig functions... (cached) yes
checking for acosf... (cached) yes
checking for asinf... (cached) yes
checking for atanf... (cached) yes
checking for cosf... (cached) yes
checking for sinf... (cached) yes
checking for tanf... (cached) yes
checking for coshf... (cached) yes
checking for sinhf... (cached) yes
checking for tanhf... (cached) yes
checking for float round functions... (cached) yes
checking for ceilf... (cached) yes
checking for floorf... (cached) yes
checking for expf declaration... yes
checking for expf... (cached) yes
checking for isnanf declaration... yes
checking for isnanf... (cached) yes
checking for isinff declaration... yes
checking for isinff... (cached) yes
checking for atan2f declaration... yes
checking for atan2f... (cached) yes
checking for fabsf declaration... yes
checking for fabsf... (cached) yes
checking for fmodf declaration... yes
checking for fmodf... (cached) yes
checking for frexpf declaration... yes
checking for frexpf... (cached) yes
checking for hypotf declaration... yes
checking for hypotf... (cached) yes
checking for ldexpf declaration... yes
checking for ldexpf... (cached) yes
checking for logf declaration... yes
checking for logf... (cached) yes
checking for log10f declaration... yes
checking for log10f... (cached) yes
checking for modff declaration... yes
checking for modff... (cached) yes
checking for modf declaration... yes
checking for modf... (cached) yes
checking for powf declaration... yes
checking for powf... (cached) yes
checking for sqrtf declaration... yes
checking for sqrtf... (cached) yes
checking for sincosf declaration... yes
checking for sincosf... (cached) yes
checking for finitef declaration... yes
checking for finitef... (cached) yes
checking for long double trig functions... (cached) yes
checking for acosl... (cached) yes
checking for asinl... (cached) yes
checking for atanl... (cached) yes
checking for cosl... (cached) yes
checking for sinl... (cached) yes
checking for tanl... (cached) yes
checking for coshl... (cached) yes
checking for sinhl... (cached) yes
checking for tanhl... (cached) yes
checking for long double round functions... (cached) yes
checking for ceill... (cached) yes
checking for floorl... (cached) yes
checking for isnanl declaration... yes
checking for isnanl... (cached) yes
checking for isinfl declaration... yes
checking for isinfl... (cached) yes
checking for atan2l declaration... yes
checking for atan2l... (cached) yes
checking for expl declaration... yes
checking for expl... (cached) yes
checking for fabsl declaration... yes
checking for fabsl... (cached) yes
checking for fmodl declaration... yes
checking for fmodl... (cached) yes
checking for frexpl declaration... yes
checking for frexpl... (cached) yes
checking for hypotl declaration... yes
checking for hypotl... (cached) yes
checking for ldexpl declaration... yes
checking for ldexpl... (cached) yes
checking for logl declaration... yes
checking for logl... (cached) yes
checking for log10l declaration... yes
checking for log10l... (cached) yes
checking for modfl declaration... yes
checking for modfl... (cached) yes
checking for powl declaration... yes
checking for powl... (cached) yes
checking for sqrtl declaration... yes
checking for sqrtl... (cached) yes
checking for sincosl declaration... yes
checking for sincosl... (cached) yes
checking for finitel declaration... yes
checking for finitel... (cached) yes
checking for at_quick_exit declaration... yes
checking for at_quick_exit... (cached) yes
checking for quick_exit declaration... yes
checking for quick_exit... (cached) yes
checking for strtold declaration... yes
checking for strtold... (cached) yes
checking for strtof declaration... yes
checking for strtof... (cached) yes
checking for "/dev/random" and "/dev/urandom" for TR1 random_device... (cached) yes
checking whether the target supports thread-local storage... (cached) no
checking for __cxa_thread_atexit_impl... (cached) no
checking for __cxa_thread_atexit... (cached) no
checking for aligned_alloc... (cached) yes
checking for posix_memalign... (cached) yes
checking for memalign... (cached) yes
checking for _aligned_malloc... (cached) no
checking for _wfopen... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [Makefile:10799: configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory '/cygdrive/c/work/compiler/build-gcc'
make: *** [Makefile:914: all] Error 2

I’m using Cygwin on a Windows 7 PC configured to build c,c++,fortran...

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build fails - configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES
  2018-07-29 22:24 Build fails - configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES Darrell Reich via fortran
@ 2018-07-30  7:28 ` Marco Atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: Marco Atzeri @ 2018-07-30  7:28 UTC (permalink / raw)
  To: fortran

Am 30.07.2018 um 00:24 schrieb Darrell Reich via fortran:
> Does anyone know what this build error means and how to fix it? I’ve successfully built gfortran 8 in the past.
> 
> checking for _wfopen... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> make[1]: *** [Makefile:10799: configure-target-libstdc++-v3] Error 1
> make[1]: Leaving directory '/cygdrive/c/work/compiler/build-gcc'
> make: *** [Makefile:914: all] Error 2
> 
> Here’s more context of the commands I’ve typed and the log leading up to the error:
> 
> svn update
> cd ../build
> configure…
> make
> ...
> checking for sys/param.h... (cached) yes
..
> checking for memalign... (cached) yes
> checking for _aligned_malloc... (cached) no
> checking for _wfopen... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> make[1]: *** [Makefile:10799: configure-target-libstdc++-v3] Error 1
> make[1]: Leaving directory '/cygdrive/c/work/compiler/build-gcc'
> make: *** [Makefile:914: all] Error 2
> 
> I’m using Cygwin on a Windows 7 PC configured to build c,c++,fortran...
> 

1) try removing "config.cache" before "configure"
2) looks on details for failed test in "config.log"

Regards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-30  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-29 22:24 Build fails - configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES Darrell Reich via fortran
2018-07-30  7:28 ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).