Ticket #3644 (closed bug: fixed)

Opened 4 years ago

Last modified 4 years ago

./configure fails while gcc version checking

Reported by: tolysz Owned by:
Priority: high Milestone: 6.12.1
Component: Build System Version: 6.13
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

./configure exits with an error 1 but commenting out lines 4115 - 4138 solves this problem i.e.

>gcc --version
gcc (Debian 4.3.4-6) 4.3.4
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.4 (Debian 4.3.4-6) 

Attachments

config.log Download (8.0 KB) - added by tolysz 4 years ago.

Change History

  Changed 4 years ago by igloo

  • priority changed from normal to high
  • difficulty set to Unknown
  • milestone set to 6.12.1

What's on those lines will depend on what version of autoconf you use. Can you paste them here please?

Can you also attach the output of configure and the config.log file please?

Changed 4 years ago by tolysz

  Changed 4 years ago by tolysz

The ./configure from ghc-6.12.0.20091106 is working fine. Only 6.13 is broken.

follow-up: ↓ 4   Changed 4 years ago by igloo

Is this the latest HEAD?

Do you have "set -e" in configure?

The configure scripts in the 6.12 and 6.13 branches are currently identical apart from the version number.

in reply to: ↑ 3   Changed 4 years ago by tolysz

Replying to igloo:

Is this the latest HEAD? Do you have "set -e" in configure? The configure scripts in the 6.12 and 6.13 branches are currently identical apart from the version number.

There was "set -e" in 6.13 it works now with this line(2472) being commented out.

  Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution set to fixed

OK, thanks for the follow-up. It sounds like you have an old snapshot, so I'll close this ticket.

Note: See TracTickets for help on using tickets.