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]

linuxthreads breaks native ARM builds



Hi,

I'm not certain if you are aware of this or not, but your change:
2001-04-10  Ulrich Drepper  <drepper@redhat.com>

        * cancel.c (__pthread_perform_cleanup): Takes extra parameter.
Use
        this parameter as the initial value the cleanup handler records
are
        compared against.  No active cleanup handler record must have an
        address lower than the previous one and the initial record must be
        above (below on PA) the frame address passed in.
        (pthread_setcancelstate): Call __pthread_do_exit instead of
        pthread_exit.
        (pthread_setcanceltype): Likewise.
        (pthread_testcancel): Likewise.
        (_pthread_cleanup_pop_restore): Likewise.

Appears to have broken my native ARM builds.

gcc cancel.c -c -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g
-D__NO_WEAK_PTHREAD_ALIASES -D_RPC_THREAD_SAFE_   -I../include -I.
-I/home/build-rpm/BUILD/obj-glibc-20010411/linuxthreads -I.. -I../libio
-I/home/build-rpm/BUILD/obj-glibc-20010411 -I../sysdeps/arm/elf
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm
-I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic   -D_LIBC_REENTRANT -include
../include/libc-symbols.h     -o
/home/build-rpm/BUILD/obj-glibc-20010411/linuxthreads/cancel.o
cancel.c:178: #error "Define either _STACK_GROWS_DOWN or _STACK_GROWS_UP"
make[2]: ***
[/home/build-rpm/BUILD/obj-glibc-20010411/linuxthreads/cancel.o] Error 1

Thanks,
-Rms


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