public inbox for gcc-rust@gcc.gnu.org
 help / color / mirror / Atom feed
* Test results for gccrs on Debian unstable powerpc (failure)
@ 2021-06-02 12:13 John Paul Adrian Glaubitz
  0 siblings, 0 replies; only message in thread
From: John Paul Adrian Glaubitz @ 2021-06-02 12:13 UTC (permalink / raw)
  To: gcc-rust

Hi!

Trying to build revision fd9e53249c6c269e68f9aca71b3d17b3ecee8e8a on 32-bit
PowerPC fails with:

g++ -c   -g -O2 -DIN_GCC     -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc -I../../gcc/build -I../../gcc/../include  -I../../gcc/../libcpp/include  \
        -o build/genpreds.o ../../gcc/genpreds.c
In file included from ./tm.h:32,
                 from ../../gcc/genpreds.c:26:
../../gcc/config/rs6000/linux.h:63:3: error: #error "TARGET_RUST_OS_INFO already defined in linux.h (rs6000) - c++ undefines it and redefines it."
   63 | # error "TARGET_RUST_OS_INFO already defined in linux.h (rs6000) - c++ undefines it and redefines it."
      |   ^~~~~
../../gcc/config/rs6000/linux.h:65: warning: "TARGET_RUST_OS_INFO" redefined
   65 | #define TARGET_RUST_OS_INFO()          \
      |
In file included from ./tm.h:31,
                 from ../../gcc/genpreds.c:26:
../../gcc/config/rs6000/sysv4.h:554: note: this is the location of the previous definition
  554 | #define TARGET_RUST_OS_INFO()  \
      |
make[2]: *** [Makefile:2833: build/genpreds.o] Error 1
make[2]: Leaving directory '/home/glaubitz/gccrs/build/gcc'
make[1]: *** [Makefile:4415: all-gcc] Error 2
make[1]: Leaving directory '/home/glaubitz/gccrs/build'
make: *** [Makefile:944: all] Error 2

Reported as [1].

Adrian

> [1] https://github.com/Rust-GCC/gccrs/issues/468

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-02 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-02 12:13 Test results for gccrs on Debian unstable powerpc (failure) John Paul Adrian Glaubitz

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