public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/54308] New: build regression in 190498 on ppc64/linux: legitimate_indirect_address_p undefined
@ 2012-08-18  1:48 PHHargrove at lbl dot gov
  2012-08-18  2:32 ` [Bug other/54308] " hp at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: PHHargrove at lbl dot gov @ 2012-08-18  1:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54308

             Bug #: 54308
           Summary: build regression in 190498 on ppc64/linux:
                    legitimate_indirect_address_p undefined
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: PHHargrove@lbl.gov


I pulled gcc-trunk from svn (revision 190498) today hoping to build on my
PPC64/Linux host, knowing that bug 54142 had been fixed in 190427.

Unfortunately something (the build-with-cxx merge being the most obvious
candidate) seems to have broken this build for me when using Red Hat's gcc/g++
4.2.1 from the Linux distro (Fedora Core 6).  The key info appears below, but I
can provide any additional info that might be necessary.

As soon as I am able I will be trying the build on this host with a GCC more
recent than 4.2.1 (and not when patched up by Red Hat).  I will report
success/failure when that has been completed.

-Paul


Script started on Fri 17 Aug 2012 05:36:08 PM PDT
$ svn -q co svn://gcc.gnu.org/svn/gcc/trunk gcc-trunk
$ svn up gcc-trunkK
At revision 190498.
$ cd gcc-trunk
$ ./contrib/gcc_update --touch
[...]
$ cd ..
$ mkdir BLD
$ cd BLD
$ gcc --version
gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-13)
Copyright (C) 2006 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.

$ env 'CFLAGS=-g -O0' \
  ../gcc-trunk/configure --enable-languages=c \
    --disable-bootstrap --enable-checking 'CC=gcc -m64' 'CXX=g++ -m64' \
    --with-mpc=/usr/local/pkg/mpc-0.8.1 \
    --with-mpfr=/usr/local/pkg/mpfr-2.4.2 \
    --with-gmp=/usr/local/pkg/gmp-4.3.2
checking build system type... powerpc64-unknown-linux-gnu
checking host system type... powerpc64-unknown-linux-gnu
checking target system type... powerpc64-unknown-linux-gnu
[...]

$ make
[...]
g++ -m64 -c  -DIN_GCC_FRONTEND -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W
-Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -fno-common 
-DHAVE_CONFIG_H -I. -I. -I../../gcc-trunk/gcc -I../../gcc-trunk/gcc/.
-I../../gcc-trunk/gcc/../include -I../../gcc-trunk/gcc/../libcpp/include
-I/usr/local/pkg/gmp-4.3.2/include -I/usr/local/pkg/mpfr-2.4.2/include
-I/usr/local/pkg/mpc-0.8.1/include  -I../../gcc-trunk/gcc/../libdecnumber
-I../../gcc-trunk/gcc/../libdecnumber/dpd -I../libdecnumber    cc1-checksum.c
-o cc1-checksum.o
g++ -m64   -g -O2 -DIN_GCC   -fno-exceptions -fno-rtti -W -Wall -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -fno-common  -DHAVE_CONFIG_H  -o cc1
c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o
c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c-family/c-common.o
c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o
c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o
c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o
c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o
tree-mudflap.o default-c.o rs6000-c.o \
          cc1-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a
libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
-L/usr/local/pkg/gmp-4.3.2/lib -L/usr/local/pkg/mpfr-2.4.2/lib
-L/usr/local/pkg/mpc-0.8.1/lib -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib -lz
libbackend.a(insn-preds.o): In function `stmw_operation_1':
/home/phargrov/tmp/gcc/BLD/gcc/../../gcc-trunk/gcc/config/rs6000/predicates.md:1374:
undefined reference to `legitimate_indirect_address_p(rtx_def*, int)'
/home/phargrov/tmp/gcc/BLD/gcc/../../gcc-trunk/gcc/config/rs6000/predicates.md:1404:
undefined reference to `legitimate_indirect_address_p(rtx_def*, int)'
libbackend.a(insn-preds.o): In function `lmw_operation_1':
/home/phargrov/tmp/gcc/BLD/gcc/../../gcc-trunk/gcc/config/rs6000/predicates.md:1299:
undefined reference to `legitimate_indirect_address_p(rtx_def*, int)'
/home/phargrov/tmp/gcc/BLD/gcc/../../gcc-trunk/gcc/config/rs6000/predicates.md:1329:
undefined reference to `legitimate_indirect_address_p(rtx_def*, int)'
collect2: ld returned 1 exit status
make[2]: *** [cc1] Error 1
make[2]: Leaving directory `/home/phargrov/tmp/gcc/BLD/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/phargrov/tmp/gcc/BLD'
make: *** [all] Error 2


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

end of thread, other threads:[~2012-11-08 20:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-18  1:48 [Bug other/54308] New: build regression in 190498 on ppc64/linux: legitimate_indirect_address_p undefined PHHargrove at lbl dot gov
2012-08-18  2:32 ` [Bug other/54308] " hp at gcc dot gnu.org
2012-08-18  2:38 ` PHHargrove at lbl dot gov
2012-08-18  3:02 ` PHHargrove at lbl dot gov
2012-08-18  7:27 ` [Bug other/54308] [4.8 regression] " schwab@linux-m68k.org
2012-08-18 18:40 ` [Bug target/54308] " gary at intrepid dot com
2012-08-18 19:05 ` PHHargrove at lbl dot gov
2012-08-19 18:29 ` hp at gcc dot gnu.org
2012-08-20  8:57 ` PHHargrove at lbl dot gov
2012-11-08 20:09 ` jakub at gcc dot gnu.org
2012-11-08 20:19 ` jakub at gcc dot gnu.org

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