This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc-2.3.2, gcc-3.3.3, and alpha axp?


Anyone have success building glibc-2.3.2 for the alpha processor
with gcc-3.3.3 snapshots?

I'm getting together another release of my cross-toolchain build
script, and thought I'd try building glibc-2.3.2 with a newer gcc.
In the past, I've compiled it ok with gcc-3.3, but
building it with gcc-3.3-20040112 and binutils-2.14.90.0.5 I get
the error

../linuxthreads/sysdeps/unix/sysv/linux/alpha/vfork.S: Assembler messages:
../linuxthreads/sysdeps/unix/sysv/linux/alpha/vfork.S:63: Warning: .ent directive without matching .end
../linuxthreads/sysdeps/unix/sysv/linux/alpha/vfork.S:63: Error: can't resolve `0' {.text section} - `L0' {.text section}
make[2]: *** [/home/dank/crosstool-0.26-pre3/build/alpha-unknown-linux-gnu/gcc-3.3-20040112-glibc-2.3.2/build-glibc/posix/vfork.o] Error 1
make[2]: Leaving directory `/home/dank/crosstool-0.26-pre3/build/alpha-unknown-linux-gnu/gcc-3.3-20040112-glibc-2.3.2/glibc-2.3.2/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/home/dank/crosstool-0.26-pre3/build/alpha-unknown-linux-gnu/gcc-3.3-20040112-glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2

Grumble.  Looking at glibc cvs, I see that there was a change to vfork.S
dealing with this a bit, so I did
$ wget 'http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/linuxthreads/sysdeps/unix/sysv/linux/alpha/vfork.S.diff?r1=1.5&r2=1.6&cvsroot=glibc'
$ wget 'http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/linuxthreads/sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h.diff?r1=1.3&r2=1.4&cvsroot=
glibc'
applied those patches, and grabbed the newest binutils (2.14.90.0.8).
Sadly, that gave me the new error

../sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Assembler messages:
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:28: Error: unknown opcode `cfi_startproc'
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:28: Error: unknown opcode `cfi_def_cfa_offset'
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:28: Error: missing ')'
...
make[2]: *** [/home/dank/crosstool-0.26-pre3/build/alpha-unknown-linux-gnu/gcc-3.3-20040112-glibc-2.3.2/build-glibc/signal/sigsuspend.o] Error 1
make[2]: Leaving directory `/home/dank/crosstool-0.26-pre3/build/alpha-unknown-linux-gnu/gcc-3.3-20040112-glibc-2.3.2/glibc-2.3.2/signal'
make[1]: *** [signal/subdir_lib] Error 2

which I couldn't figure out... the right binutils seems to be invoked, and the
as binary contains the keyword cfi_startproc, so I'm a bit stumped.
- Dan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]