public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* libiberty testsuite builds with wrong compiler
@ 2009-02-22  0:14 Jack Howarth
  0 siblings, 0 replies; 4+ messages in thread
From: Jack Howarth @ 2009-02-22  0:14 UTC (permalink / raw)
  To: gcc

I noticed the following on darwin10, since it builds
with x86_64 as the default where appropriate. The 
libiberty testsuite is building with the system compiler
instead of the one from gcc trunk...

make[2]: [check-objc] Error 1 (ignored)
make[2]: Nothing to be done for `check'.
make[2]: Nothing to be done for `check'.
make[2]: Nothing to be done for `check'.
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I../../../gcc-4.4-20090221/libiberty/testsuite/../../include  -o test-demangle \
		../../../gcc-4.4-20090221/libiberty/testsuite/test-demangle.c ../libiberty.a

This was flagged on darwin10 because libiberty.a is built
with the gcc trunk compiler and is i386 code not x86_64 code.
                  Jack

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

* Re: libiberty testsuite builds with wrong compiler
  2009-02-23 10:35 ` Paolo Bonzini
@ 2009-02-25  7:07   ` Kaveh R. GHAZI
  0 siblings, 0 replies; 4+ messages in thread
From: Kaveh R. GHAZI @ 2009-02-25  7:07 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: Jack Howarth, gcc

On Mon, 23 Feb 2009, Paolo Bonzini wrote:

> Jack Howarth wrote:
> >   The same issue in the libiberty testsuite run can be seen with
> > the Apple regress server log at http://gcc.gnu.org/regtest/HEAD/native-lastbuild.txt.gzip.
> > If you search for test-demangle, you will find...
>
> I'm sure there is a bugzilla entry for that.
> Paolo

PR29404

--Kaveh

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

* Re: libiberty testsuite builds with wrong compiler
  2009-02-22  1:03 Jack Howarth
@ 2009-02-23 10:35 ` Paolo Bonzini
  2009-02-25  7:07   ` Kaveh R. GHAZI
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2009-02-23 10:35 UTC (permalink / raw)
  To: Jack Howarth; +Cc: gcc

Jack Howarth wrote:
>   The same issue in the libiberty testsuite run can be seen with
> the Apple regress server log at http://gcc.gnu.org/regtest/HEAD/native-lastbuild.txt.gzip.
> If you search for test-demangle, you will find...

I'm sure there is a bugzilla entry for that.

Paolo

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

* RE: libiberty testsuite builds with wrong compiler
@ 2009-02-22  1:03 Jack Howarth
  2009-02-23 10:35 ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Jack Howarth @ 2009-02-22  1:03 UTC (permalink / raw)
  To: gcc

  The same issue in the libiberty testsuite run can be seen with
the Apple regress server log at http://gcc.gnu.org/regtest/HEAD/native-lastbuild.txt.gzip.
If you search for test-demangle, you will find...

+ make -j2 -k check
autogen -T /Users/regress/tbox/svn-gcc/fixincludes/check.tpl /Users/regress/tbox/svn-gcc/fixincludes/inclhack.def
make[2]: autogen: Command not found
make[2]: *** [check] Error 127
make[1]: *** [check-fixincludes] Error 2
rm -f stamp-h1
/bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
Makefile:3354: warning: overriding commands for target `gt-darwin.h'
/Users/regress/tbox/svn-gcc/gcc/config/t-darwin:17: warning: ignoring old commands for target `gt-darwin.h'
make[2]: Nothing to be done for `check'.
Making a new config file...
make[2]: Nothing to be done for `check'.
echo "set tmpdir /Users/regress/tbox/native/build/gcc/testsuite" >> ./tmp0
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I/Users/regress/tbox/svn-gcc/libiberty/testsuite/../../include  -o test-demangle \
	/Users/regress/tbox/svn-gcc/libiberty/testsuite/test-demangle.c ../libiberty.a
Makefile:3354: warning: overriding commands for target `gt-darwin.h'

and

if [ -n "" ] ; then \
  runtestflags=""; \
elif [ -n "execute.exp=execute/2* execute.exp=execute/\[013-9a-zA-Z\]* compile.exp dg.exp struct-layout-1.exp,unsorted.exp,stackalign.exp,i386.exp" ] ; then \
  parts="`echo ' execute.exp=execute/2* execute.exp=execute/\[013-9a-zA-Z\]* compile.exp dg.exp struct-layout-1.exp unsorted.exp stackalign.exp i386.exp ' \
	  | sed 's/=[^ ]* / /g'`"; \
  for part in `find $srcdir/testsuite/gcc* -name \*.exp` ; do \
    part=`basename $part` ; \
    case " $parts $runtestflags " in \
      *" $part "*) ;; \
      *) runtestflags="$runtestflags $part" ;; \
    esac ; \
  done ; \
fi ; \
`if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gcc  $runtestflags)
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I/Users/regress/tbox/svn-gcc/libiberty/testsuite/../../include  -DHAVE_CONFIG_H -I.. -o test-pexecute \
	/Users/regress/tbox/svn-gcc/libiberty/testsuite/test-pexecute.c ../libiberty.a
gcc -DHAVE_CONFIG_H -g -O2 -I.. -I/Users/regress/tbox/svn-gcc/libiberty/testsuite/../../include  -DHAVE_CONFIG_H -I.. -o test-expandargv \
	/Users/regress/tbox/svn-gcc/libiberty/testsuite/test-expandargv.c ../libiberty.a
./test-demangle < /Users/regress/tbox/svn-gcc/libiberty/testsuite/demangle-expected
./test-demangle: 775 tests, 0 failures

etc. All of which are using the system c compiler instead of that from gcc trunk.
           Jack

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

end of thread, other threads:[~2009-02-25  7:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-22  0:14 libiberty testsuite builds with wrong compiler Jack Howarth
2009-02-22  1:03 Jack Howarth
2009-02-23 10:35 ` Paolo Bonzini
2009-02-25  7:07   ` Kaveh R. GHAZI

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).