Summary: | sys-devel/gcc[gcj] fails to compile jni code when LANG=cs_CZ.utf8 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gcc.gnu.org/ml/gcc-patches/2015-10/msg02367.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Miroslav Šulc
![]() wild guess, but could you try with LANG=en_US.UTF8 ? (In reply to SpanKY from comment #1) > wild guess, but could you try with LANG=en_US.UTF8 ? that fixed the issue, thanks :-) seems like an easy fix. libjava/classpath/scripts/check_jni_methods.sh.in needs to be updated to run the sort commands through LC_ALL=C too. that fixes it for me using the cs_CZ locale. sent patch upstream. assuming i get a rapid response, should be fixed in the tree after that. pushed my fix upstream and queued it in the last release since 4.4. i pushed it out for 4.9.3 and 5.2.0 though. http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.4.7/gentoo/34_all_libjava-classpath-locale-sort.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.5.4/gentoo/34_all_libjava-classpath-locale-sort.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.6.4/gentoo/34_all_libjava-classpath-locale-sort.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.7.4/gentoo/34_all_libjava-classpath-locale-sort.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.8.5/gentoo/34_all_libjava-classpath-locale-sort.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.9.3/gentoo/34_all_libjava-classpath-locale-sort.patch?rev=1.1 http://sources.gentoo.org/gentoo/src/patchsets/gcc/5.2.0/gentoo/34_all_libjava-classpath-locale-sort.patch?rev=1.1 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8a61759fc24d5af8749b92259a25ef74808e13 commit 5d8a61759fc24d5af8749b92259a25ef74808e13 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-09-23 21:39:24 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-09-23 22:35:59 +0000 sys-devel/gcc: cut 1.4 patchset for 4.6.4 Two new patches and four removals: - 10_all_default-fortify-source.patch - 11_all_gcc-default-format-security.patch - 12_all_default-warn-trampolines.patch + 34_all_libjava-classpath-locale-sort.patch fix sortting on cs_CZ locale - 99_all_testsuite-01-Wformat.patch + 94_all_ucontext-to-ucontext_t.patch fix build failure against glibc-2.28 Bug: https://bugs.gentoo.org/563710 Bug: https://bugs.gentoo.org/629502 Package-Manager: Portage-2.3.49, Repoman-2.3.11 sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-4.6.4-r1.ebuild | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) |