You are not logged in.
/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > /home/utops/arch/glibc/src/glibc-build/begin-end-check.out
make[1]: Obiekt `check' nie został wykonany z powodu błędów.
make[1]: Opuszczenie katalogu `/home/utops/arch/glibc/src/glibc-2.16.0'
make: *** [check] Błąd 2
==> BŁĄD: Wystąpił błąd w check().
Przerywam...First time i compiled it on initscript without problem,now this ^
CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
#CFLAGS="-march=native -O3 -pipe"
#CXXFLAGS="-march=native -O3 -pipe"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j3"This is also happening on "-march=i686 -mtune=generic"
So,bug?
Last edited by utops (2012-10-09 21:16:42)
Offline
So.... my rough translation is something in "make check" failed. But you do not give us any information on what that failure is...
Offline
Oops,sorry for that language blooper.
I sniff up some google search and find this:
rpc/types.h sunrpc/rpc/svc_auth.h sunrpc/rpcsvc/bootparam.h sysvipc/sys/ipc.h \
sysvipc/sys/msg.h sysvipc/sys/sem.h sysvipc/sys/shm.h termios/termios.h \
termios/sys/termios.h termios/sys/ttychars.h time/time.h time/sys/time.h \
time/sys/timeb.h wcsmbs/wchar.h wctype/wctype.h > \
/sources/glibc-build/begin-end-check.out
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/glibc-2.12.1'
make: *** [check] Error 2This snippet came from LFS help desk,but error is identical to mine on arch.
Guy from help desk say to ignore it,but this error just brake the compiling process.
Edit:
g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=ld-new -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o ld-new main.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o libgold.a ../libiberty/libiberty.a -lpthread -ldl -lz
g++ -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -frandom-seed=incremental-dump -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro -o incremental-dump incremental-dump.o i386.o x86_64.o sparc.o powerpc.o arm.o arm-reloc-property.o libgold.a ../libiberty/libiberty.a -lpthread -ldl -lz
make[4]: (leaving directory) Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[3]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[2]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold'
make[1]: Opuszczenie katalogu `/home/utops/arch/binutils/src'
make: *** [all] Błąd 2 (Error 2)Binutils ^
It's systemd problem?
Binutils build succefully on initscripts week ago IIRC.
Last edited by utops (2012-10-07 12:15:08)
Offline
That is still not the error message...
Offline
What do you need then?
Offline
The actual error... grep for "Error" in the check output.
And this is definitely not a systemd issue.
Offline
Binutils
# cat config.log |grep error
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
collect2: error: ld returned 1 exit status
| /* Override any GCC internal prototype to avoid an error.
conftest.c:16:5: error: unknown type name 'choke'
stage2_werror_flag=''Glibc
cat config.log|grep error
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
conftest.c:9:28: fatal error: ac_nonexistent.h: No such file or directory
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input filesBut this errors are in every config.log despite of succesful build or not
In gtk2,gtk3,xfce4-panel and others.
Offline
Umm... the "make check" output, not the configure output.
Offline
make check |grep Error
/home/utops/arch/binutils/src/binutils/opcodes/i386-dis.c: In function ‘print_insn’:
/home/utops/arch/binutils/src/binutils/opcodes/i386-dis.c:11334:17: error: array subscript is above array bounds [-Werror=array-bounds]
cc1: all warnings being treated as errors
make[3]: *** [i386-dis.lo] Błąd 1
make[2]: *** [check-recursive] Błąd 1
make[1]: *** [check-opcodes] Błąd 2
make: *** [do-check] Błąd 2"make chek |grep Error" on glibc spits nothing.
Edit:
tar:
tar-1.26 % make check |grep Error
In file included from argp.h:24:0,
from argp-eexst.c:27:
./stdio.h:479:1: error: ‘gets’ undeclared here (not in a function)
make[3]: *** [argp-eexst.o] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1Last edited by utops (2012-10-07 13:35:17)
Offline
"Błąd" is Error, right? That could be why glibc shows nothing...
That binutils error looks like it is from the combination of "-Wall -Werror" which is bad. I can see from your output that you are not using the Arch PKGBUILD for building that, so you are on your own.
Offline
cp -r /var/abs/core/glibc /~$HOME/arch/ <- my build directorysame with binutils
I am using Arch PKGBUILD. Right?
Offline
make[4]: (leaving directory) Opuszczenie katalogu `/home/utops/arch/binutils/src/gold' make[3]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold' make[2]: Opuszczenie katalogu `/home/utops/arch/binutils/src/gold' make[1]: Opuszczenie katalogu `/home/utops/arch/binutils/src' make: *** [all] Błąd 2 (Error 2)
If you were doing that, the build directory would be /home/utops/arch/binutils/src/binutils-build/....
Offline
utops@tootzilla ~/arch/binutils/src/binutils-build % make check|grep Błąd
/home/utops/arch/binutils/src/binutils/opcodes/i386-dis.c: In function ‘print_insn’:
/home/utops/arch/binutils/src/binutils/opcodes/i386-dis.c:11334:17: error: array subscript is above array bounds [-Werror=array-bounds]
cc1: all warnings being treated as errors
make[3]: *** [i386-dis.lo] Błąd 1
make[2]: *** [check-recursive] Błąd 1
make[1]: *** [check-opcodes] Błąd 2
make: *** [do-check] Błąd 2I must typed make check in src/binutils instead of right location.
Fix'd
But anyway i have no reason to lie to you, im rarely using unofficial PKGBUILDs -only themes,icons and fonts to be precise.
Offline
Problem gone after updating to recent GCC pkg or changing LC_COLLATE from pl_PL.UTF-8 to C.
Not really sure. ![]()
Offline