Configure with: ../combined/configure --target=sparclite-coff --enable-languages=c,c+4,objc; make /usr/bin/gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict- prototypes -Wmissing-prototypes -pedantic -Wno-long-long -fno-common -DHAVE_CONFIG_H -I. -I. -I../../combined/gcc -I../../combined/gcc/. -I../../combined/gcc/config -I../../combined/ gcc/../include ../../combined/gcc/varasm.c -o varasm.o ../../combined/gcc/varasm.c:223: warning: function declaration isn't a prototype ../../combined/gcc/varasm.c: In function `init_section': ../../combined/gcc/varasm.c:223: `INIT_SECTION_ASM_OP' undeclared (first use in this function) ../../combined/gcc/varasm.c:223: (Each undeclared identifier is reported only once ../../combined/gcc/varasm.c:223: for each function it appears in.) INIT_SECTION_ASM_OP is clearly undefined in sparc/litecoff.h . Note certain
Related to bug 8909 and bug 10847.
Ditto for sparclite-elf.
This is a regression from when the sparc targets got reorginized (forgot when).
Confirmed.
Not a major target and it has been broken since at least 3.3.
Agreed. Indeed, since nobody else seems to have mentined the breakage, I'd sat there's a good case for deprecating/removing the port.
I think a patch like this <http://gcc.gnu.org/ml/gcc-patches/2004-01/msg00810.html> is needed for sparc-coff/elf is needed.
Moving back the milestone, the target is not deprecated yet AFAICT, so this is a fully qualified regression, albeit for a minor target.
Sparclite is not a primary target, so I've postponed this problem until (at least) GCC 3.4.1.
I see no evidence that anyone cares very much about this bug, let alone that anyone has a way of fixing it. Postponed until 3.4.2.
Postponed until GCC 3.4.3.
Mark, may I simply remove the target for 4.0?
Postponed until GCC 3.4.4.
I think the sparclite-*-* targets should be removed for 4.0. Is there a new round of target removing scheduled before the 4.0.0 release?
Mine.
Suspended until deprecation/removal.
Subject: Bug 12027 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2005-04-04 17:18:54 Modified files: gcc : ChangeLog config.gcc Removed files: gcc/config/sparc: lite.h litecoff.h liteelf.h sp86x-elf.h t-sp86x t-sparclite Log message: PR target/4198 PR target/12027 * config.gcc (Obsolete configurations): Remove sparclite-*-coff*, sparclite-*-elf* and sparc-*-openbsd*. (sparclite-*-coff*): Delete. (sparclite-*-elf*): Likewise. (sparc86x-*-elf*): Likewise. (target_cpu_default) <sparc*-*-*>: Remove sparc86x. * config/sparc/lite.h: Delete. * config/sparc/litecoff.h: Likewise. * config/sparc/liteelf.h: Likewise. * config/sparc/sp86x-elf.h: Likewise. * config/sparc/t-sparclite: Likewise. * config/sparc/t-sp86x: Likewise. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8120&r2=2.8121 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?cvsroot=gcc&r1=1.528&r2=1.529 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/lite.h.diff?cvsroot=gcc&r1=1.8&r2=NONE http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/litecoff.h.diff?cvsroot=gcc&r1=1.17&r2=NONE http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/liteelf.h.diff?cvsroot=gcc&r1=1.16&r2=NONE http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sp86x-elf.h.diff?cvsroot=gcc&r1=1.18&r2=NONE http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/t-sp86x.diff?cvsroot=gcc&r1=1.3&r2=NONE http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/t-sparclite.diff?cvsroot=gcc&r1=1.5&r2=NONE
Target removed.