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 build/19477] sparc64 build fails for default v9 targets: sparc64/soft-fp/qp_itoq.c requires v9a+


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

Anatoly Pugachev <matorola at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matorola at gmail dot com

--- Comment #1 from Anatoly Pugachev <matorola at gmail dot com> ---
still valid for as per git (3c9a4cd16cbc7b79094fec68add2df66061ab5d7):

glibc git sources in ~/glibc
glibc build directory is ~/build/glibc:

mator@deb4g:~/build/glibc$ ~/glibc/configure --prefix=/opt/glibc && make -j16

make[2]: Entering directory '/home/mator/glibc/soft-fp'
gcc ../sysdeps/sparc/sparc64/soft-fp/qp_itoq.c -c -std=gnu11 -fgnu89-inline 
-O2 -Wall -Werror -Wundef -Wwrite-strings -fmerge-all-constants -frounding-math
-g -Wstrict-prototypes -Wold-style-definition -fcall-used-g6   
-ftls-model=initial-exec      -I../include -I/home/mator/build/glibc/soft-fp 
-I/home/mator/build/glibc  -I../sysdeps/unix/sysv/linux/sparc/sparc64 
-I../sysdeps/unix/sysv/linux/wordsize-64  -I../sysdeps/unix/sysv/linux/sparc 
-I../sysdeps/sparc/nptl  -I../sysdeps/unix/sysv/linux/include
-I../sysdeps/unix/sysv/linux  -I../sysdeps/nptl  -I../sysdeps/pthread 
-I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../sysdeps/unix/sysv 
-I../sysdeps/unix  -I../sysdeps/posix  -I../sysdeps/sparc/sparc64/fpu/multiarch
 -I../sysdeps/sparc/sparc64/fpu  -I../sysdeps/sparc/sparc64/multiarch 
-I../sysdeps/sparc/sparc64  -I../sysdeps/wordsize-64 
-I../sysdeps/ieee754/ldbl-128  -I../sysdeps/ieee754/dbl-64/wordsize-64 
-I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754/flt-32 
-I../sysdeps/sparc/sparc64/soft-fp  -I../sysdeps/sparc/fpu  -I../sysdeps/sparc 
-I../sysdeps/ieee754  -I../sysdeps/generic  -I.. -I../libio -I.  
-D_LIBC_REENTRANT -include /home/mator/build/glibc/libc-modules.h
-DMODULE_NAME=libc -include ../include/libc-symbols.h       -o
/home/mator/build/glibc/soft-fp/qp_itoq.o -MD -MP -MF
/home/mator/build/glibc/soft-fp/qp_itoq.o.dt -MT
/home/mator/build/glibc/soft-fp/qp_itoq.o
/tmp/ccQaqMLY.s: Assembler messages:
/tmp/ccQaqMLY.s:91: Error: Architecture mismatch on "fzero".
/tmp/ccQaqMLY.s:91:  (Requires v9a|v9b; requested architecture is v9.)
/home/mator/build/glibc/sysd-rules:2163: recipe for target
'/home/mator/build/glibc/soft-fp/qp_itoq.o' failed
make[2]: *** [/home/mator/build/glibc/soft-fp/qp_itoq.o] Error 1
make[2]: Leaving directory '/home/mator/glibc/soft-fp'
Makefile:214: recipe for target 'soft-fp/subdir_lib' failed
make[1]: *** [soft-fp/subdir_lib] Error 2
make[1]: Leaving directory '/home/mator/glibc'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 2
mator@deb4g:~/build/glibc$ 

I wonder why https://sourceware.org/ml/binutils/2014-09/msg00018.html does not
fixed this issue.

My system is (debian sparc64 unstable/sid):

mator@deb4g:~/build/glibc$ uname -a
Linux deb4g 4.5.0-trunk-sparc64-smp #1 SMP Debian 4.5-1~exp1 (2016-03-20)
sparc64 GNU/Linux

mator@deb4g:~/build/glibc$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/sparc64-linux-gnu/6/lto-wrapper
Target: sparc64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6-20160122-1'
--with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs
--enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-6 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes
--with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm
--disable-libquadmath --enable-plugin --with-system-zlib
--disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-sparc64/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-sparc64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-sparc64
--with-arch-directory=sparc64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --enable-targets=all --with-long-double-128
--enable-multilib --enable-checking=release --build=sparc64-linux-gnu
--host=sparc64-linux-gnu --target=sparc64-linux-gnu
Thread model: posix
gcc version 6.0.0 20160122 (experimental) [trunk revision 232729] (Debian
6-20160122-1) 

mator@deb4g:~/build/glibc$ as --version
GNU assembler (GNU Binutils for Debian) 2.26
Copyright (C) 2015 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `sparc64-linux-gnu'.

mator@deb4g:~/build/glibc$ dpkg -s gcc binutils | grep Version
Version: 4:6-20160101-2
Version: 2.26-8

Thanks.

PS: this bug report is set as "build: x86_64-linux-gnu" in header, but I doing
a native (sparc64) build.

-- 
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]