This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Unexpected Test failures dependant on --prefix - egcs1.1.2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]