public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old"
@ 2012-09-25 19:08 christophe.jarry at ouvaton dot org
2012-09-25 19:19 ` [Bug libc/14624] " aj at suse dot de
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: christophe.jarry at ouvaton dot org @ 2012-09-25 19:08 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14624
Bug #: 14624
Summary: `make localedata/install-locales` fails with "FATAL:
kernel too old"
Product: glibc
Version: 2.16
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: christophe.jarry@ouvaton.org
CC: drepper.fsp@gmail.com
Classification: Unclassified
I have the error "FATAL: kernel too old" when I try to generate
locales with "make localedata/install-locales".
I installed Linux headers from linux-libre-3.5.4-gnu
(http://linux-libre.fsfla.org/pub/linux-libre/releases/3.5.4-gnu/linux-libre-3.5.4-gnu.tar.bz2),
then binutils-2.22, and gcc-4.7.2 (gmp-5.0.5, mpc-1.0.1, mpfr-3.1.1).
I am trying to cross-compile glibc-2.16.0 with the above tools:
tar xf glibc-2.16.0.tar.bz2
pushd glibc-2.16.0
tar xf ../glibc-ports-2.16.0.tar.bz2
mv -v glibc-ports-2.16.0 ports
sed -i.orig "s/\ -lgcc_eh\|\ -lgcc_s//g" Makeconfig
# The above command is required in order for the build to complete
echo "" > ports/sysdeps/mips/mips64/n64/Makefile
echo "" > ports/sysdeps/mips/mips64/n32/Makefile
echo "" > ports/sysdeps/mips/mips32/Makefile
sed -i "/default) machine=/s/n32/64/g" \
ports/sysdeps/mips/preconfigure
mkdir -pv ../glibc-build
cd ../glibc-build
cat > config.cache << EOF
libc_cv_c_cleanup=yes
libc_cv_slibdir=/lib
EOF
cat > configparms << EOF
install_root=${TARGET_DIR}
libdir=/usr/lib
EOF
BUILD_CC="gcc" \
CC="mips64el-unknown-linux-gnu-gcc -march=loongson2f -mabi=64" \
AR="mips64el-unknown-linux-gnu-ar" \
RANLIB="mips64el-unknown-linux-gnu-ranlib" \
../glibc-2.16.0/configure \
--prefix=/usr \
--libexecdir=/usr/lib/glibc \
--build=mipsel-unknown-linux-gnu \
--host=mips64el-unknown-linux-gnu \
--disable-profile \
--enable-add-ons \
--with-tls \
--enable-kernel=3.5.4 \
--with-__thread \
--with-binutils=/gllfsc/cross-tools/bin \
--with-headers=/gllfsc/usr/include \
--cache-file=config.cache
make
make install
make localedata/install-locales
The last command outputs:
make -r PARALLELMFLAGS="" -C ../glibc-2.16.0 objdir=`pwd`
localedata/install-locales
make[1]: Entering directory `/gllfsc/build/glibc-2.16.0'
make -C localedata install-locales
make[2]: Entering directory `/gllfsc/build/glibc-2.16.0/localedata'
.././scripts/mkinstalldirs /gllfsc/usr/lib/locale
aa_DJ.UTF-8...FATAL: kernel too old
done
aa_DJ.ISO-8859-1...FATAL: kernel too old
done
.
.
.
zu_ZA.UTF-8...FATAL: kernel too old
done
zu_ZA.ISO-8859-1...FATAL: kernel too old
done
make[2]: Leaving directory `/gllfsc/build/glibc-2.16.0/localedata'
make[1]: Leaving directory `/gllfsc/build/glibc-2.16.0'
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/14624] `make localedata/install-locales` fails with "FATAL: kernel too old"
2012-09-25 19:08 [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old" christophe.jarry at ouvaton dot org
@ 2012-09-25 19:19 ` aj at suse dot de
2012-09-27 12:06 ` christophe.jarry at ouvaton dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: aj at suse dot de @ 2012-09-25 19:19 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14624
Andreas Jaeger <aj at suse dot de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aj at suse dot de
--- Comment #1 from Andreas Jaeger <aj at suse dot de> 2012-09-25 19:19:19 UTC ---
localedef is executed on your host machine - the localedef you crosscompiled.
You need to be able to execute localedef when you install the locales and if
you're running on an older machine or cannot execute localedef, it will fail.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/14624] `make localedata/install-locales` fails with "FATAL: kernel too old"
2012-09-25 19:08 [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old" christophe.jarry at ouvaton dot org
2012-09-25 19:19 ` [Bug libc/14624] " aj at suse dot de
@ 2012-09-27 12:06 ` christophe.jarry at ouvaton dot org
2012-09-27 18:21 ` joseph at codesourcery dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: christophe.jarry at ouvaton dot org @ 2012-09-27 12:06 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14624
--- Comment #2 from christophe.jarry at ouvaton dot org 2012-09-27 12:05:49 UTC ---
Then, is there a way to generate a localedef for the "build" architecture that
would generate locales for the "target"?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/14624] `make localedata/install-locales` fails with "FATAL: kernel too old"
2012-09-25 19:08 [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old" christophe.jarry at ouvaton dot org
2012-09-25 19:19 ` [Bug libc/14624] " aj at suse dot de
2012-09-27 12:06 ` christophe.jarry at ouvaton dot org
@ 2012-09-27 18:21 ` joseph at codesourcery dot com
2014-06-17 4:19 ` fweimer at redhat dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: joseph at codesourcery dot com @ 2012-09-27 18:21 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=14624
--- Comment #3 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-09-27 18:21:31 UTC ---
The cross-localedef code in EGLIBC is the most complicated of the
cross-build improvements there and I haven't yet attempted to extract any
of it for merging to glibc.
I'd say that the part most clearly desirable for glibc - but also the most
complicated - is the new command-line options for localedef to allow it to
generate locales for another system (--little-endian, --big-endian,
--uint32-align). That would mean that if you built / installed glibc
natively, the resulting localedef binary (run with the corresponding
glibc) could be used to cross-generate locales for other systems, as well
as to generate locales natively.
There are other pieces to support building the cross-localedef as a
standalone tool, possibly for a system with older glibc or not using glibc
as the host C library at all. Those pieces are messier and quite likely
more controversial - but less invasive than the basic support (originally
by Richard Sandiford) for building locales for a system with different
endianness or alignment of uint32_t.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/14624] `make localedata/install-locales` fails with "FATAL: kernel too old"
2012-09-25 19:08 [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old" christophe.jarry at ouvaton dot org
` (2 preceding siblings ...)
2012-09-27 18:21 ` joseph at codesourcery dot com
@ 2014-06-17 4:19 ` fweimer at redhat dot com
2015-08-27 22:13 ` [Bug build/14624] " jsm28 at gcc dot gnu.org
2015-08-27 22:14 ` christophe.jarry at ouvaton dot org
5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-17 4:19 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14624
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14624] `make localedata/install-locales` fails with "FATAL: kernel too old"
2012-09-25 19:08 [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old" christophe.jarry at ouvaton dot org
` (3 preceding siblings ...)
2014-06-17 4:19 ` fweimer at redhat dot com
@ 2015-08-27 22:13 ` jsm28 at gcc dot gnu.org
2015-08-27 22:14 ` christophe.jarry at ouvaton dot org
5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-08-27 22:13 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14624
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |carlos at redhat dot com
Component|libc |build
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug build/14624] `make localedata/install-locales` fails with "FATAL: kernel too old"
2012-09-25 19:08 [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old" christophe.jarry at ouvaton dot org
` (4 preceding siblings ...)
2015-08-27 22:13 ` [Bug build/14624] " jsm28 at gcc dot gnu.org
@ 2015-08-27 22:14 ` christophe.jarry at ouvaton dot org
5 siblings, 0 replies; 7+ messages in thread
From: christophe.jarry at ouvaton dot org @ 2015-08-27 22:14 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=14624
--- Comment #4 from christophe.jarry at ouvaton dot org ---
Je n'utiliserai bientôt plus cette adresse de messagerie.
Pour m'écrire, envoyez-moi désormais vos courriels à christophe_jarry chez
laposte point net.
--
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-29478-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Aug 27 22:14:26 2015
Return-Path: <glibc-bugs-return-29478-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 129081 invoked by alias); 27 Aug 2015 22:14:26 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 129010 invoked by uid 48); 27 Aug 2015 22:14:22 -0000
From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug locale/15322] increment_counter fails to check the status of step->init_fct, unlike gen_steps
Date: Thu, 27 Aug 2015 22:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: locale
X-Bugzilla-Version: 2.18
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jsm28 at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: component
Message-ID: <bug-15322-131-eQR2ILVrXA@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-15322-131@http.sourceware.org/bugzilla/>
References: <bug-15322-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-08/txt/msg00518.txt.bz2
Content-length: 372
https://sourceware.org/bugzilla/show_bug.cgi?id\x15322
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|libc |locale
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2015-08-27 22:14 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-25 19:08 [Bug libc/14624] New: `make localedata/install-locales` fails with "FATAL: kernel too old" christophe.jarry at ouvaton dot org
2012-09-25 19:19 ` [Bug libc/14624] " aj at suse dot de
2012-09-27 12:06 ` christophe.jarry at ouvaton dot org
2012-09-27 18:21 ` joseph at codesourcery dot com
2014-06-17 4:19 ` fweimer at redhat dot com
2015-08-27 22:13 ` [Bug build/14624] " jsm28 at gcc dot gnu.org
2015-08-27 22:14 ` christophe.jarry at ouvaton dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).