This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
possible gcc bug?
- From: George R Goffe <grgoffe at yahoo dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Fri, 20 Sep 2013 22:40:32 -0700 (PDT)
- Subject: possible gcc bug?
- Authentication-results: sourceware.org; auth=none
- Reply-to: George R Goffe <grgoffe at yahoo dot com>
Hi,
I have been trying to find the cause of a problem that I'm having building gcc from the repository.
In the logs I've been seeing the following message:
239 + ../gcc/configure --prefix=/usr/lsd/Linux --verbose --with-mpc=/usr/lsd/Linux --with-mpfr=/usr/lsd/Linux --with-gmp=/usr/lsd/Linux
240 configure: loading cache /dev/null
241 /dev/null: line 1: ls:: command not found
242 checking build system type... x86_64-unknown-linux-gnu
This error message appears because line 500 of the configure script has an improperly(?) formed if statement:
500 if ls -dL / >/dev/null 2>&1; then
when changed to the following, the message goes away:
500 if [ ls -dL / >/dev/null 2>&1 ]; then
This has got to be the most trivial bug ever found... at least I think it's a bug. Perhaps it's indicative of a more serious problem with my system?
Could I ask someone to take a peek at this please?
Regards,
George...