This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Unexpected Test failures dependant on --prefix - egcs1.1.2
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: Unexpected Test failures dependant on --prefix - egcs1.1.2
- From: "David B. Rees" <dbr at spoke dot nols dot com>
- Date: Thu, 18 Mar 1999 00:36:38 -0800 (PST)
Hi,
I've found an interesting bug (er, feature ;-) with recent releases of egcs on
my system. I configure two identical egcs, EXCEPT for the prefix. One, I set
with --prefix=/usr, and the other, I set with --prefix=/opt/egcs-1.1.2.
With the --prefix=/usr version, I get these test failures in the g++ testsuite.
=== g++ tests ===
FAIL: g++.law/arm13.C (test for excess errors)
FAIL: g++.law/virtual3.C (test for excess errors)
FAIL: g++.robertl/eb77.C Execution test
With the --prefix=/opt/egcs-1.1.2 version, I only get:
=== g++ tests ===
FAIL: g++.law/arm13.C (test for excess errors)
Some of you may remember me posting to the egcs list a day or two ago
complaining that creating a new ifstream will seg fault. Well, if I install
both compilers, the --prefix=/usr version seg faults, and the
--prefix=/opt/egcs-1.1.2 version works normally. So the question is why, and
how do I fix/work around it?
As an aside which may/may not be related, this system is running glibc2.1.
Thanks,
Dave