public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/19494] New: Building gcc-3.4.3 fails on gcc/unwind-dw2.c
@ 2005-01-18  3:39 emteeoh at gmail dot com
  2005-01-18 14:36 ` [Bug target/19494] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: emteeoh at gmail dot com @ 2005-01-18  3:39 UTC (permalink / raw)
  To: gcc-bugs

I'm trying to build LinuxFromScratch.org book 6.0 on a DecAlpha. LFS chapter 5
pass1 and pass2 complete with no errors, but gcc-3.4.1 *AND* gcc-3.4.3 both fail
when trying to compile gcc/unwind-dw2.c in chapter 6 (the big difference being
that in chapter 6, I'm building in the bootstrapped environment for installation
into /usr, rather than linked against libraries in /tools/lib and installed into
/tools/bin. I don't understand why it makes a difference...)

gcc -v for the compiler being used to make gcc-3.4.3:
Reading specs from /tools/lib/gcc/alphaev56-unknown-linux-gnu/3.4.1/specs
Configured with: ../gcc-3.4.1/configure --prefix=/tools --libexecdir=/tools/lib
--with-local-prefix=/tools --enable-clocale=gnu --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++
--disable-libstdcxx-pch
Thread model: posix
gcc version 3.4.1

The output of make:
make[1]: Entering directory `/morelfs/gcc-build/libiberty'
make[2]: Entering directory `/morelfs/gcc-build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/morelfs/gcc-build/libiberty/testsuite'
make[1]: Leaving directory `/morelfs/gcc-build/libiberty'
make[1]: Entering directory `/morelfs/gcc-build/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/morelfs/gcc-build/intl'
make[1]: Entering directory `/morelfs/gcc-build/gcc'
make \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long  " \
  CONFIG_H="tconfig.h ../../gcc-3.4.3/gcc/../include/ansidecl.h" TM_H="tm.h    
 ../../gcc-3.4.3/gcc/config/alpha/alpha.h ../../gcc-3.4.3/gcc/config/alpha/elf.h
../../gcc-3.4.3/gcc/config/alpha/linux.h
../../gcc-3.4.3/gcc/config/alpha/linux-elf.h ../../gcc-3.4.3/gcc/defaults.h
insn-constants.h insn-flags.h" \
  INCLUDES="-I. -I. -I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/.
-I../../gcc-3.4.3/gcc/../include " \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[2]: Entering directory `/morelfs/gcc-build/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh ../../gcc-3.4.3/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/morelfs/gcc-build/gcc/xgcc -B/morelfs/gcc-build/gcc/
-B/usr/alphaev56-unknown-linux-gnu/bin/ -B/usr/alphaev56-unknown-linux-gnu/lib/
-isystem /usr/alphaev56-unknown-linux-gnu/include -isystem
/usr/alphaev56-unknown-linux-gnu/sys-include -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -fPIC -mieee -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc-3.4.3/gcc -I../../gcc-3.4.3/gcc/.
-I../../gcc-3.4.3/gcc/../include  -fexceptions -c
../../gcc-3.4.3/gcc/unwind-dw2.c -o libgcc/./unwind-dw2.o
../../gcc-3.4.3/gcc/unwind-dw2.c: In function `uw_frame_state_for':
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named
`sc_regs'
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named
`sc_regs'
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named
`sc_fpregs'
../../gcc-3.4.3/gcc/unwind-dw2.c:1027: error: structure has no member named `sc_pc'
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/morelfs/gcc-build/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/morelfs/gcc-build/gcc'
make: *** [all-gcc] Error 2

-- 
           Summary: Building gcc-3.4.3 fails on gcc/unwind-dw2.c
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: emteeoh at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: alphaev56-unknown-linux
GCC target triplet: alphaev56-unknown-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19494


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

* [Bug target/19494] Building gcc-3.4.3 fails on gcc/unwind-dw2.c
  2005-01-18  3:39 [Bug c/19494] New: Building gcc-3.4.3 fails on gcc/unwind-dw2.c emteeoh at gmail dot com
@ 2005-01-18 14:36 ` pinskia at gcc dot gnu dot org
  2005-01-18 16:11 ` emteeoh at gmail dot com
  2005-01-25  6:13 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 14:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-18 14:25 -------
Hmm, the only thing I can think of, is that the build mechenism is picking up the wrong system header 
since this source uses the system headers for the struct sigcontext.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
          Component|c                           |target
           Keywords|                            |build
           Priority|P1                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19494


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

* [Bug target/19494] Building gcc-3.4.3 fails on gcc/unwind-dw2.c
  2005-01-18  3:39 [Bug c/19494] New: Building gcc-3.4.3 fails on gcc/unwind-dw2.c emteeoh at gmail dot com
  2005-01-18 14:36 ` [Bug target/19494] " pinskia at gcc dot gnu dot org
@ 2005-01-18 16:11 ` emteeoh at gmail dot com
  2005-01-25  6:13 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: emteeoh at gmail dot com @ 2005-01-18 16:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From emteeoh at gmail dot com  2005-01-18 16:11 -------
Subject: Re:  Building gcc-3.4.3 fails on gcc/unwind-dw2.c

On 18 Jan 2005 14:25:40 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> Hmm, the only thing I can think of, is that the build mechenism is picking up the wrong system header
> since this source uses the system headers for the struct sigcontext.

So its likely that I've screwed up with either the linux kernel
headers or in the glibc install?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19494


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

* [Bug target/19494] Building gcc-3.4.3 fails on gcc/unwind-dw2.c
  2005-01-18  3:39 [Bug c/19494] New: Building gcc-3.4.3 fails on gcc/unwind-dw2.c emteeoh at gmail dot com
  2005-01-18 14:36 ` [Bug target/19494] " pinskia at gcc dot gnu dot org
  2005-01-18 16:11 ` emteeoh at gmail dot com
@ 2005-01-25  6:13 ` pinskia at gcc dot gnu dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-25  6:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-25 06:13 -------
This works for everyone else (really just RTH).  But anyways, this cannot be a gcc bug as it looks like 
you changed the headers and it will fix the problem.

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19494


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

end of thread, other threads:[~2005-01-25  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18  3:39 [Bug c/19494] New: Building gcc-3.4.3 fails on gcc/unwind-dw2.c emteeoh at gmail dot com
2005-01-18 14:36 ` [Bug target/19494] " pinskia at gcc dot gnu dot org
2005-01-18 16:11 ` emteeoh at gmail dot com
2005-01-25  6:13 ` pinskia at gcc dot gnu dot org

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