Thank you for your note. Because I tried to use the latest version of alpha
and glibc had an error related to undefined PTR_MANGLE function. I found a
patch for it, but I got another error message that I don't remember, but I
will try to replicate it.
 
Berkin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Ciccone
Sent: Wednesday, October 31, 2007 6:56 PM
To: Cross-LFS Support List
Subject: Re: [Clfs-support] Compilation error GLIBC on Section 5.8for
SVN-0.0.1-20070915/alpha

Berkin Ozisikyilmaz wrote:
> Hi,
>
> I'm using Suse 10.2 with [EMAIL PROTECTED]:~> gcc -v
> Using built-in specs.
> Target: i586-suse-linux
> Configured with: ../configure --enable-threads=posix --prefix=/usr 
> --with-local-prefix=/usr/local --infodir=/usr/share/info 
> --mandir=/usr/share/man --libdir=/usr/lib --libexecdir=/usr/lib 
> --enable-languages=c,c++,objc,fortran,obj-c++,java,ada 
> --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 
> --enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib 
> --with-system-zlib --enable-shared --enable-__cxa_atexit 
> --enable-libstdcxx-allocator=new --program-suffix=-4.1 
> --enable-version-specific-runtime-libs --without-system-libunwind 
> --with-cpu=generic --host=i586-suse-linux
> Thread model: posix
> gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
>
> When i run the make command in section 5.8. I get the following output.
>
> thanks
> berkin
>
> make  subdir=signal -C signal ..=../ subdir_lib
> make[2]: Entering directory `/home/clfs/sources/glibc-2.6.1/signal'
> alpha-unknown-linux-gnu-gcc ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S
-c
>
> -I../include -I/home/clfs/sources/glibc-build/signal 
> -I/home/clfs/sources/glibc-build -I../nptl/sysdeps/alpha/elf 
> -I../sysdeps/alpha/elf -I../sysdeps/unix/sysv/linux/alpha/alpha 
> -I../sysdeps/unix/sysv/linux/alpha/fpu -I../sysdeps/alpha/fpu 
> -I../nptl/sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux/alpha

> -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/ieee754/ldbl-64-128 
> -I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux 
> -I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux 
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
> -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv 
> -I../sysdeps/unix/alpha -I../nptl/sysdeps/unix -I../sysdeps/unix 
> -I../sysdeps/posix -I../nptl/sysdeps/alpha -I../sysdeps/alpha 
> -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 
> -I../sysdeps/alpha/soft-fp -I../sysdeps/ieee754 -I../sysdeps/generic/elf 
> -I../sysdeps/generic -I../nptl  -I.. -I../libio -I. -nostdinc -isystem 
> /home/clfs/clfs/cross-tools/lib/gcc/alpha-unknown-linux-gnu/4.2.1/include 
> -isystem /home/clfs/clfs/usr/include -D_LIBC_REENTRANT -include 
> ../include/libc-symbols.h       -DASSEMBLER   -Wa,--noexecstack  -o 
> /home/clfs/sources/glibc-build/signal/sigsuspend.o -MD -MP -MF 
> /home/clfs/sources/glibc-build/signal/sigsuspend.o.dt -MT 
> /home/clfs/sources/glibc-build/signal/sigsuspend.o
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Assembler messages:
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: CFI instruction
> used 
> without previous .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:43: Error: .cfi_endproc
> without 
> corresponding .cfi_startproc
> ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:46: Error: open CFI at the
end
> of 
> file; missing .cfi_endproc directive
> make[2]: *** [/home/clfs/sources/glibc-build/signal/sigsuspend.o] Error 1
> make[2]: Leaving directory `/home/clfs/sources/glibc-2.6.1/signal'
> make[1]: *** [signal/subdir_lib] Error 2
> make[1]: Leaving directory `/home/clfs/sources/glibc-2.6.1'
> make: *** [all] Error 2
>   
Here's a patch that fixes the issue, I'm suprised that it's not in the 
revision of the book that you're using. 
http://svn.cross-lfs.org/svn/repos/cross-lfs/branches/clfs-sysroot/patches/g
libc-2.6.1-sysdep_cancel-1.patch

Just a side note, Stick to glibc 2.6.1 on alpha. 2.7 is broken on alpha.

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to