Summary: | cross-*/gcc[fortran]: gfortran dies with include location "/usr/include" is unsafe for cross-compilation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Aladjev <aladjev.andrew> |
Component: | [OLD] Development | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aladjev.andrew |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
URL: | http://gcc.gnu.org/PR54725 | ||
See Also: | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54725 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge info
gcc stage2 build.log |
Description
Andrew Aladjev
2012-08-30 12:16:18 UTC
Created attachment 322577 [details]
emerge info
Created attachment 322579 [details]
gcc stage2 build.log
(In reply to comment #2) > Created attachment 322579 [details] the type of this attachment is application/x-gzip (build.log.gz). unfortunately I have no permissions to change it =sys-devel/gcc-4.6.3 works perfect looks like a legit bug ... running the gfortran command directly shows: ... ignoring nonexistent directory "/usr/local/include" ... #include <...> search starts here: ... /usr/include ... fortran shouldn't search /usr/include :) this might be worked around by removal of -Werror from the libgfortran build should be all set in gcc 4.7.1 and 4.7.2 http://sources.gentoo.org/gentoo/src/patchsets/gcc/4.7.2/gentoo/39_all_gfortran-sysroot-pr54725.patch?rev=1.1 Commit message: Make sure gfortran respects sysroot http://sources.gentoo.org/sys-devel/gcc/gcc-4.7.1.ebuild?r1=1.6&r2=1.7 http://sources.gentoo.org/sys-devel/gcc/gcc-4.7.2.ebuild?r1=1.4&r2=1.5 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f16eb5b72bb49fa1dbdedd08ee85b95eaf67cdd commit 7f16eb5b72bb49fa1dbdedd08ee85b95eaf67cdd Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-27 09:23:45 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-27 11:46:08 +0000 sys-devel/gcc: cut 1.8 patchset for 6.4.0 Eight new patches: + 103_all_remove-lieee.patch: drop assumed -lieee from -mieee-fp + 104_all_libgfortran-Werror.patch: + 105_all_libgomp-Werror.patch + 106_all_libitm-Werror.patch + 107_all_libatomic-Werror.patch + 108_all_libbacktrace-Werror.patch + 109_all_libsanitizer-libbacktrace-Werror.patch: pull in all -Werror patches from 8.2.0 + 110_all_libstdcxx-no-vtv.patch: drop libvtv RPATH from libstdc++ Bug: https://bugs.gentoo.org/667104 Bug: https://bugs.gentoo.org/475350 Bug: https://bugs.gentoo.org/229059 Bug: http://gcc.gnu.org/PR38436 Bug: https://bugs.gentoo.org/433435 Bug: http://gcc.gnu.org/PR54724 Bug: https://bugs.gentoo.org/582524 Bug: https://gcc.gnu.org/PR85884 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-6.4.0-r5.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2277fa55f1dd056891a5c7037741ee753df8f819 commit 2277fa55f1dd056891a5c7037741ee753df8f819 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-27 09:15:23 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-27 11:46:08 +0000 sys-devel/gcc: cut 1.8 patchset for 7.3.0 Five new patches: + 101_all_remove-lieee.patch: drop assumed -lieee from -mieee-fp + 102_all_libgfortran-Werror.patch: + 103_all_libgomp-Werror.patch + 104_all_libitm-Werror.patch + 105_all_libatomic-Werror.patch + 106_all_libbacktrace-Werror.patch + 107_all_libsanitizer-libbacktrace-Werror.patch: pull in all -Werror patches from 8.2.0 + 108_all_libstdcxx-no-vtv.patch: drop libvtv RPATH from libstdc++ Bug: https://bugs.gentoo.org/667104 Bug: https://bugs.gentoo.org/475350 Bug: https://bugs.gentoo.org/229059 Bug: http://gcc.gnu.org/PR38436 Bug: https://bugs.gentoo.org/433435 Bug: http://gcc.gnu.org/PR54724 Bug: https://bugs.gentoo.org/582524 Bug: https://gcc.gnu.org/PR85884 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-7.3.0-r6.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c84f250076a6a6f33202c022a256b34284d91111 commit c84f250076a6a6f33202c022a256b34284d91111 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-10-27 19:17:52 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-10-27 19:21:54 +0000 sys-devel/gcc: cut 1.11 patchset for 5.4.0 Eight new patches: + 99_all_remove-lieee.patch: drop assumed -lieee from -mieee-fp + 100_all_libgfortran-Werror.patch: + 101_all_libgomp-Werror.patch + 102_all_libitm-Werror.patch + 103_all_libatomic-Werror.patch + 104_all_libbacktrace-Werror.patch + 105_all_libsanitizer-libbacktrace-Werror.patch: pull in all -Werror patches from 8.2.0 + 106_all_libstdcxx-no-vtv.patch: drop libvtv RPATH from libstdc++ Bug: https://bugs.gentoo.org/667104 Bug: https://bugs.gentoo.org/475350 Bug: https://bugs.gentoo.org/229059 Bug: http://gcc.gnu.org/PR38436 Bug: https://bugs.gentoo.org/433435 Bug: http://gcc.gnu.org/PR54724 Bug: https://bugs.gentoo.org/582524 Bug: https://gcc.gnu.org/PR85884 Closes: https://bugs.gentoo.org/621178 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-5.4.0-r6.ebuild | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=36350040e98578b2cd6bffff91b192df1f0c21fa commit 36350040e98578b2cd6bffff91b192df1f0c21fa Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-07-20 22:30:09 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-07-20 22:30:09 +0000 11.0.0: drop 16_all_libgfortran-Werror.patch patch Gentoo does not ship patch with poison system directories anymore. Upstream did not accept -Werror removal. Let's drop downstream patch. We can always reintroduce it back if needed. Bug: https://bugs.gentoo.org/433435 Bug: http://gcc.gnu.org/PR54724 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 11.0.0/gentoo/16_all_libgfortran-Werror.patch | 20 -------------------- 11.0.0/gentoo/README.history | 3 +++ 2 files changed, 3 insertions(+), 20 deletions(-) |