This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug nptl/19986] sparc32 glibc build fails with "No support for pthread barriers on pre-v9 sparc"


https://sourceware.org/bugzilla/show_bug.cgi?id=19986

Edward <kane at xlegion dot su> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kane at xlegion dot su

--- Comment #4 from Edward <kane at xlegion dot su> ---
glibc-2.24 contains the bug yet:
../sysdeps/sparc/sparc32/pthread_barrier_wait.c:1:2: error: #error No support
for pthread barriers on pre-v9 sparc.
 #error No support for pthread barriers on pre-v9 sparc.
  ^

I tried to compile glibc-2.24 via command with cross compiller (host/build
x86_64-mageia-linux-gnu target sparc-linux-gnu):

TGT=sparc-linux-gnu
LFS=/cross
TOOLS=/opt/tools
ROOTS=/opt/roots
VV=2.24

../glibc-$VV/configure \
        --prefix=/usr \
        --with-headers=$ROOTS/$TGT/usr/include \
        --enable-kernel=2.6.38 \
        --with-binutils=$ROOTS/$TGT/  \
        --host=$TGT \
        --build=$(../glibc-$VV/scripts/config.guess) \
        --disable-profile \
        --with-tls \
        --with-__thread \
        --without-gd \
        --without-cvs \
        libc_cv_forced_unwind=yes \
        libc_cv_ctors_header=yes \
        libc_cv_c_cleanup=yes
make

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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