other/2734: compile problem on powerpc-linux
Daniel Jacobowitz
dmj+@andrew.cmu.edu
Fri May 4 09:46:00 GMT 2001
The following reply was made to PR other/2734; it has been noted by GNATS.
From: Daniel Jacobowitz <dmj+@andrew.cmu.edu>
To: laforge@conectiva.com.br
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: other/2734: compile problem on powerpc-linux
Date: Fri, 4 May 2001 12:40:53 -0400
On Fri, May 04, 2001 at 01:26:24AM -0000, laforge@conectiva.com.br wrote:
>
> >Number: 2734
> >Category: other
> >Synopsis: compile problem on powerpc-linux
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Thu May 03 18:36:00 PDT 2001
> >Closed-Date:
> >Last-Modified:
> >Originator: laforge@conectiva.com.br
> >Release: 2.95.3
> >Organization:
> >Environment:
> LinuxPPC 2000 Quarter 4, updated to glibc-2.2.3
> >Description:
> There is a compile problem I'm experiencing with boehm-gc.
>
> /home/conectiva/rpms/BUILD/gcc-2.95.3/objdir-ppc-redhat-linux/gcc/xgcc -B/home/conectiva/rpms/BUILD/gcc-2.95.3/objdir-ppc-redhat-linux/gcc/ -B/usr/ppc-redhat-linux/bin/ -DLINUX_THREADS=1 -D_REENTRANT=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_DEBUGGING=1 -DJAVA_FINALIZATION=1 -I. -I../../../boehm-gc -I././targ-include -I./../../../boehm-gc/./libc/include -fno-builtin -O2 -fsigned-char -fexceptions -g -c -fPIC -DPIC ../../../boehm-gc/allchblk.c -o .libs/allchblk.lo
> In file included from ../../../boehm-gc/allchblk.c:20:
> ../../../boehm-gc/gc_priv.h:469: parse error before `--'
> make[2]: *** [allchblk.lo] Error 1
> make[2]: Leaving directory `/home/conectiva/rpms/BUILD/gcc-2.95.3/objdir-ppc-redhat-linux/ppc-redhat-linux/boehm-gc'
> make[1]: *** [all-target-boehm-gc] Error 2
> make[1]: Leaving directory `/home/conectiva/rpms/BUILD/gcc-2.95.3/objdir-ppc-redhat-linux'
> make: *** [bootstrap-lean] Error 2
>
> If I look actually in boehm-gc/gc_priv.h, I see that GC_test_and_set
> is implemented only for i386 and alpha ?!?
> >How-To-Repeat:
> ./configure --prefix=/usr \
> --enable-shared \
> --enable-threads
> >Fix:
Well, for one thing, you should be able to use the system boehm gc
instead; I believe that LinuxPPC 2000 doesn't have this available, but
you can get a patched source from Debian or use the new upstream
release of the Boehm GC. You can probably just drop it in on top of
the one you're using from libgcj.
--
Daniel Jacobowitz Debian GNU/Linux Developer
Monta Vista Software Debian Security Team
More information about the Gcc-prs
mailing list