bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Failure, non constant expression in .if (sigsuspend) glibc 2.3.1


From: Dhek Bhun Kho
Subject: Failure, non constant expression in .if (sigsuspend) glibc 2.3.1
Date: 20 Dec 2002 04:37:53 +0100

Hi you guys,

I tried it like a dozen times, but couldn't get it to work, this is the
last compilation of glibc I tried:

 /static/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc/configure --disable-shared --enable-static
--disable-nls --prefix=/mnt/lfs/static/ --enable-languages=c
Thread model: posix (snapshot 20021219)


../linuxthreads/sysdeps/pthread/pthread.h:163: error: parse error before
"__thread"
../linuxthreads/sysdeps/pthread/pthread.h:165: error: `pthread_create'
declared as function returning a function
../linuxthreads/sysdeps/pthread/pthread.h:165: warning: function
declaration isn't a prototype
../linuxthreads/sysdeps/pthread/pthread.h:166: error: parse error before
"void"
../linuxthreads/sysdeps/pthread/pthread.h:591: error: storage class
specified for parameter `type name'
In file included from ../linuxthreads/sysdeps/pthread/pthread.h:655,
                 from ../include/pthread.h:1,
                 from
../linuxthreads/sysdeps/pthread/bits/libc-lock.h:23,
                 from ../sysdeps/generic/ldsodefs.h:34,
                 from ../sysdeps/unix/sysv/linux/ldsodefs.h:25,
                 from ../sysdeps/unix/sysv/linux/init-first.c:32:
../linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h:36: error:
storage class specified for parameter `type name'

I also tried with gcc3.2.1 (came with mandrake). I should have learned
c/c++ ( i am going to)

Then once again with glibc-2.3.1, gcc (3.2.1 and the snapshot):

gcc -B/static/bin/ -c  sigsuspend.s -o
/build/glibc-2.3.1-build/signal/sigsuspend.o
sigsuspend.s: Assembler messages:
sigsuspend.s:99: Error: non-constant expression in ".if" statement
sigsuspend.s:100: Error: non-constant expression in ".if" statement
sigsuspend.s:103: Error: non-constant expression in ".if" statement
make[2]: *** [/build/glibc-2.3.1-build/signal/sigsuspend.o] Error 1

-->
#APP
        bpushl .L__X'$0, $0
        bmovl .L__X'$0, $0
        movl $72, %eax
        int $0x80
        bpopl .L__X'$0, $0

Uhm. Wel I just see a push pop and move and really don't understand
assembly well, but I don't see a compare here.

I really don't care at the moment which glibc version gets installed as
long as it works. :D (Downgrading is no problem, but I couldn't get the
2.2.5 working either :D)

Any help dearly appreciated.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]