public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53529] New: assembler errors while building a cross compiler if . (dot) is in your PATH
@ 2012-05-30 15:29 bernard.van.duijnen at oracle dot com
  2012-05-30 15:45 ` [Bug c/53529] " jakub at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bernard.van.duijnen at oracle dot com @ 2012-05-30 15:29 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53529

             Bug #: 53529
           Summary: assembler errors while building a cross compiler if .
                    (dot) is in your PATH
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bernard.van.duijnen@oracle.com


If you have . (current directory) in your PATH in front of the location of
the system assembler (typically /usr/bin/as) then while building the
cross compiler the wrong assembler is called, resulting in errors about an
unrecognized option or bad opcodes. The mixup is with the generated
shell script as in the gcc sub directory of the build tree. This shell
script points to the target-as and at this stage the host-as is needed.

Took me quit a while to diagnose the root cause as this is not so easy to find.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-09 23:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-30 15:29 [Bug c/53529] New: assembler errors while building a cross compiler if . (dot) is in your PATH bernard.van.duijnen at oracle dot com
2012-05-30 15:45 ` [Bug c/53529] " jakub at gcc dot gnu.org
2012-05-30 15:55 ` bernard.van.duijnen at oracle dot com
2013-02-09 20:31 ` karlson2k at gmail dot com
2013-02-09 23:01 ` pinskia 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).