public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/100268] New: lm32-uclinux: ../.././gcc/config/lm32/uclinux-elf.h:70: error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror]
@ 2021-04-26 13:59 jbglaw@lug-owl.de
  2023-04-13 15:52 ` [Bug target/100268] " jbglaw@lug-owl.de
  0 siblings, 1 reply; 2+ messages in thread
From: jbglaw@lug-owl.de @ 2021-04-26 13:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100268

            Bug ID: 100268
           Summary: lm32-uclinux:
                    ../.././gcc/config/lm32/uclinux-elf.h:70: error:
                    "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror]
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jbglaw@lug-owl.de
  Target Milestone: ---

I'm revamping my testing efforts, building cross compilers based on targets
listed in ./contrib/config-list.mk.

With .../configure --target=lm32-uclinux --enable-werror-always
--enable-languages=all --prefix=/tmp/gcc-lm32-uclinux (using g++ (Debian
20210320-1) 11.0.1 20210320 (experimental) [master revision
3279a9a5a9a:6526c452d22:5f256a70a05fcfc5a1caf56678ceb12b4f87f781] as the host's
compiler), build breaks (as of ed16241c6db23013d70b792a64f29080ad48a414) with
this (cf. http://toolchain.lug-owl.de:8080/jobs/gcc-lm32-uclinux/8):

make all-gcc
[...]
[all 2021-04-26 10:11:40.136777] /usr/lib/gcc-snapshot/bin/g++ -c   -g -O2
-DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE   -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 -Werror -fno-common  -DHAVE_CONFIG_H  -DGENERATOR_FILE
-fno-PIE -I. -Ibuild -I../.././gcc -I../.././gcc/build -I../.././gcc/../include
 -I../.././gcc/../libcpp/include  \
[all 2021-04-26 10:11:40.136990]        -o build/genpreds.o
../.././gcc/genpreds.c
[all 2021-04-26 10:11:40.413151] In file included from ./tm.h:29,
[all 2021-04-26 10:11:40.413344]                  from
../.././gcc/genpreds.c:26:
[all 2021-04-26 10:11:40.413447] ../.././gcc/config/lm32/uclinux-elf.h:70:
error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror]
[all 2021-04-26 10:11:40.413548]    70 | #define LINK_GCC_C_SEQUENCE_SPEC \
[all 2021-04-26 10:11:40.413625]       | 
[all 2021-04-26 10:11:40.413708] In file included from ./tm.h:27,
[all 2021-04-26 10:11:40.413779]                  from
../.././gcc/genpreds.c:26:
[all 2021-04-26 10:11:40.413850] ../.././gcc/config/gnu-user.h:117: note: this
is the location of the previous definition
[all 2021-04-26 10:11:40.413922]   117 | #define LINK_GCC_C_SEQUENCE_SPEC
GNU_USER_TARGET_LINK_GCC_C_SEQUENCE_SPEC
[all 2021-04-26 10:11:40.413994]       | 
[all 2021-04-26 10:11:45.105909] cc1plus: all warnings being treated as errors
[all 2021-04-26 10:11:45.120330] make[1]: *** [Makefile:2815: build/genpreds.o]
Error 1
[all 2021-04-26 10:11:45.120546] make[1]: Leaving directory
'/var/lib/laminar/run/gcc-lm32-uclinux/8/gcc/host-x86_64-pc-linux-gnu/gcc'
[all 2021-04-26 10:11:45.139714] make: *** [Makefile:4428: all-gcc] Error 2

A simple undef will probably do?

Thanks,
Jan-Benedict

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

* [Bug target/100268] lm32-uclinux: ../.././gcc/config/lm32/uclinux-elf.h:70: error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror]
  2021-04-26 13:59 [Bug c/100268] New: lm32-uclinux: ../.././gcc/config/lm32/uclinux-elf.h:70: error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror] jbglaw@lug-owl.de
@ 2023-04-13 15:52 ` jbglaw@lug-owl.de
  0 siblings, 0 replies; 2+ messages in thread
From: jbglaw@lug-owl.de @ 2023-04-13 15:52 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100268

Jan-Benedict Glaw <jbglaw@lug-owl.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Jan-Benedict Glaw <jbglaw@lug-owl.de> ---
This seems to be fixed, so I'm closing this ticket.

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

end of thread, other threads:[~2023-04-13 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-26 13:59 [Bug c/100268] New: lm32-uclinux: ../.././gcc/config/lm32/uclinux-elf.h:70: error: "LINK_GCC_C_SEQUENCE_SPEC" redefined [-Werror] jbglaw@lug-owl.de
2023-04-13 15:52 ` [Bug target/100268] " jbglaw@lug-owl.de

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