public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/65535] New: powerpc64-freebsd build failure Date: Tue, 24 Mar 2015 07:39:00 -0000 [thread overview] Message-ID: <bug-65535-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65535 Bug ID: 65535 Summary: powerpc64-freebsd build failure Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: msebor at gcc dot gnu.org Building gcc for powerpc64-freebsd fails with the error below. Looks like the FBSD_MAJOR macro is defined to nothing: $ grep FBSD_MAJOR ./gcc/tm.h #ifndef FBSD_MAJOR # define FBSD_MAJOR Defining the macro to an integer such as 10 lets the build succeed. g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../ppc64fbsd-src/gcc -I../../ppc64fbsd-src/gcc/build -I../../ppc64fbsd-src/gcc/../include -I../../ppc64fbsd-src/gcc/../libcpp/include \ -o build/print-rtl.o ../../ppc64fbsd-src/gcc/print-rtl.c In file included from ./tm.h:21:0, from ../../ppc64fbsd-src/gcc/print-rtl.c:30: ../../ppc64fbsd-src/gcc/config/freebsd-spec.h:108:16: error: operator '<' has no left operand #if FBSD_MAJOR < 5 ^ ../../ppc64fbsd-src/gcc/config/freebsd-spec.h:130:16: error: operator '<' has no left operand #if FBSD_MAJOR < 6 ^ Makefile:2422: recipe for target 'build/gensupport.o' failed make[1]: *** [build/gensupport.o] Error 1 make[1]: *** Waiting for unfinished jobs.... Makefile:2422: recipe for target 'build/print-rtl.o' failed make[1]: *** [build/print-rtl.o] Error 1 rm gcov-tool.pod gcj-dbtool.pod gfortran.pod jcf-dump.pod jv-convert.pod grmic.pod gcj.pod fsf-funding.pod cpp.pod gcov.pod gij.pod gc-analyze.pod gcc.pod gfdl.pod make[1]: Leaving directory '/home/msebor/build/powerpc64-freebsd/gcc' Makefile:4129: recipe for target 'all-gcc' failed make: *** [all-gcc] Error 2
next reply other threads:[~2015-03-24 2:19 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-03-24 7:39 msebor at gcc dot gnu.org [this message] 2015-04-04 20:20 ` [Bug target/65535] " andreast at gcc dot gnu.org 2015-04-04 20:23 ` andreast at gcc dot gnu.org 2015-04-04 20:35 ` andreast at gcc dot gnu.org 2015-04-05 17:51 ` msebor at gcc dot gnu.org 2015-04-05 17:52 ` msebor at gcc dot gnu.org 2015-04-16 20:48 ` andreast at gcc dot gnu.org 2015-04-17 17:51 ` andreast at gcc dot gnu.org 2015-04-17 20:21 ` andreast at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-65535-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).