You are not logged in.

#1 2013-11-03 08:46:04

alphazo
Member
Registered: 2009-10-20
Posts: 153

[SOLVED] Unable to compile glibc from ABS

I need to recompile glibc from ABS in order to verify a potential issue with Haswell processors. For that purpose I pulled glib 2.18-9 package from ABS and used makepkg to build the package and thus wihtout changing any option.

The compile process stops toward the end with the following error message:

env GCONV_PATH=/home/alpha/tmpglibc/glibc/src/glibc-build/iconvdata LC_ALL=C   /home/alpha/tmpglibc/glibc/src/glibc-build/elf/ld-linux-x86-64.so.2 --library-path /home/alpha/tmpglibc/glibc/src/glibc-build:/home/alpha/tmpglibc/glibc/src/glibc-build/math:/home/alpha/tmpglibc/glibc/src/glibc-build/elf:/home/alpha/tmpglibc/glibc/src/glibc-build/dlfcn:/home/alpha/tmpglibc/glibc/src/glibc-build/nss:/home/alpha/tmpglibc/glibc/src/glibc-build/nis:/home/alpha/tmpglibc/glibc/src/glibc-build/rt:/home/alpha/tmpglibc/glibc/src/glibc-build/resolv:/home/alpha/tmpglibc/glibc/src/glibc-build/crypt:/home/alpha/tmpglibc/glibc/src/glibc-build/nptl /home/alpha/tmpglibc/glibc/src/glibc-build/stdio-common/tst-swscanf  > /home/alpha/tmpglibc/glibc/src/glibc-build/stdio-common/tst-swscanf.out
/bin/sh: line 1: 31166 Segmentation fault      (core dumped) env GCONV_PATH=/home/alpha/tmpglibc/glibc/src/glibc-build/iconvdata LC_ALL=C /home/alpha/tmpglibc/glibc/src/glibc-build/elf/ld-linux-x86-64.so.2 --library-path /home/alpha/tmpglibc/glibc/src/glibc-build:/home/alpha/tmpglibc/glibc/src/glibc-build/math:/home/alpha/tmpglibc/glibc/src/glibc-build/elf:/home/alpha/tmpglibc/glibc/src/glibc-build/dlfcn:/home/alpha/tmpglibc/glibc/src/glibc-build/nss:/home/alpha/tmpglibc/glibc/src/glibc-build/nis:/home/alpha/tmpglibc/glibc/src/glibc-build/rt:/home/alpha/tmpglibc/glibc/src/glibc-build/resolv:/home/alpha/tmpglibc/glibc/src/glibc-build/crypt:/home/alpha/tmpglibc/glibc/src/glibc-build/nptl /home/alpha/tmpglibc/glibc/src/glibc-build/stdio-common/tst-swscanf > /home/alpha/tmpglibc/glibc/src/glibc-build/stdio-common/tst-swscanf.out
../Rules:188: recipe for target '/home/alpha/tmpglibc/glibc/src/glibc-build/stdio-common/tst-swscanf.out' failed
make[2]: *** [/home/alpha/tmpglibc/glibc/src/glibc-build/stdio-common/tst-swscanf.out] Error 139
make[2]: Leaving directory '/home/alpha/tmpglibc/glibc/src/glibc-2.18/stdio-common'
Makefile:236: recipe for target 'stdio-common/tests' failed
make[1]: *** [stdio-common/tests] Error 2
make[1]: Leaving directory '/home/alpha/tmpglibc/glibc/src/glibc-2.18'
Makefile:9: recipe for target 'check' failed
make: *** [check] Error 2
==> ERROR: A failure occurred in check().
    Aborting...

Could someone help me to compile this package?

Don't know if this is releated but my /etc/locale.conf looks like this:

LANG=fr_FR.UTF-8
LC_COLLATE="fr_FR.UTF-8"

Last edited by alphazo (2013-11-03 09:41:57)

Offline

#2 2013-11-03 09:42:31

alphazo
Member
Registered: 2009-10-20
Posts: 153

Re: [SOLVED] Unable to compile glibc from ABS

In order to compile I had to change my /etc/locale.conf with:

LANG="en_US.UTF-8"

Offline

Board footer

Powered by FluxBB