public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib [not found] <bug-42947-4@http.gcc.gnu.org/bugzilla/> @ 2013-08-09 21:46 ` kyle at farnsworthtech dot com 2013-08-11 9:36 ` olegendo at gcc dot gnu.org ` (2 subsequent siblings) 3 siblings, 0 replies; 4+ messages in thread From: kyle at farnsworthtech dot com @ 2013-08-09 21:46 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42947 Kyle Farnsworth <kyle at farnsworthtech dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kyle at farnsworthtech dot com --- Comment #1 from Kyle Farnsworth <kyle at farnsworthtech dot com> --- I encountered this same issue. When I added the -print-sysroot option to see what gcc was thinking was the sysroot setting it revealed this: WITH -m4 option: $ sh4-oe-linux-gcc -ml -m4 --sysroot=sysroots/sh775x-oe-linux -print-sysroot sysroots/sh775x-oe-linux/m4 WITHOUT -m4 option: $ sh4-oe-linux-gcc -ml --sysroot=sysroots/sh775x-oe-linux -print-sysroot sysroots/sh775x-oe-linux It appears some arguments are getting mangled and somehow the m4 option is concatinated to the end of the sysroot. My workaround was to add symlink sysroots/sh775x-oe-linux/m4 to point to "./". $ sh4-oe-linux-gcc --version sh4-oe-linux-gcc (GCC) 4.7.2 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib [not found] <bug-42947-4@http.gcc.gnu.org/bugzilla/> 2013-08-09 21:46 ` [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib kyle at farnsworthtech dot com @ 2013-08-11 9:36 ` olegendo at gcc dot gnu.org 2013-08-12 0:43 ` kkojima at gcc dot gnu.org 2013-08-20 9:05 ` ams at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: olegendo at gcc dot gnu.org @ 2013-08-11 9:36 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42947 Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkojima at gcc dot gnu.org, | |olegendo at gcc dot gnu.org --- Comment #2 from Oleg Endo <olegendo at gcc dot gnu.org> --- Kaz, maybe you have an idea whether/how this could be improved? ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib [not found] <bug-42947-4@http.gcc.gnu.org/bugzilla/> 2013-08-09 21:46 ` [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib kyle at farnsworthtech dot com 2013-08-11 9:36 ` olegendo at gcc dot gnu.org @ 2013-08-12 0:43 ` kkojima at gcc dot gnu.org 2013-08-20 9:05 ` ams at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: kkojima at gcc dot gnu.org @ 2013-08-12 0:43 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42947 --- Comment #3 from Kazumoto Kojima <kkojima at gcc dot gnu.org> --- (In reply to Oleg Endo from comment #2) > Kaz, maybe you have an idea whether/how this could be improved? I'm also using symbolic links for those issues and have no good idea for multilibs handling itself. Clearly a true fix will be welcome, though our handling/setting for SH multilibs looks a bit too complicated already. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib [not found] <bug-42947-4@http.gcc.gnu.org/bugzilla/> ` (2 preceding siblings ...) 2013-08-12 0:43 ` kkojima at gcc dot gnu.org @ 2013-08-20 9:05 ` ams at gcc dot gnu.org 3 siblings, 0 replies; 4+ messages in thread From: ams at gcc dot gnu.org @ 2013-08-20 9:05 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42947 --- Comment #4 from Andrew Stubbs <ams at gcc dot gnu.org> --- With multilibs enabled this is usually the correct behaviour, but I wouldn't have expected this with --disable-multilib. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-08-20 9:05 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <bug-42947-4@http.gcc.gnu.org/bugzilla/> 2013-08-09 21:46 ` [Bug target/42947] multilib and startup files paths differ on sh4 with -m4 and without -m4 where -m4 is default multilib kyle at farnsworthtech dot com 2013-08-11 9:36 ` olegendo at gcc dot gnu.org 2013-08-12 0:43 ` kkojima at gcc dot gnu.org 2013-08-20 9:05 ` ams at gcc dot gnu.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).