public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001424] New: Compilation problem when using native/embedded gcc on linux (Ubuntu)
@ 2011-12-19 10:33 bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2011-12-19 10:33 UTC (permalink / raw)
  To: unassigned

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001424

           Summary: Compilation problem when using native/embedded gcc on
                    linux (Ubuntu)
           Product: eCos
           Version: CVS
          Platform: Custom (Customer specific)
        OS/Version: MIPS
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: macpaul@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1472)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1472)
The patch of mips32 compilation problem with native cross-toolcahin

File: packages/hal/mips/arch/current/src/redboot_linux_exec.c
Description: 

When compiling packages/hal/mips/arch/current/src/redboot_linux_exec.c will
lead error when using cross-gcc on pure Linux environment.

While if the compiler produced by chip vendor, like Atheros, or produced by
OpenWrt prject will encounter this problem. (gcc-4.4)

This is because function entry pointer "linux' is a predefined macro in native
gcc toolchain (as well as x86's toolchain).

The fix method is to replace this variable from "linux" to other name like
"linux_os".

Please refer to the attachment.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


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

* [Bug 1001424] New: Compilation problem when using native/embedded gcc on linux (Ubuntu)
@ 2011-12-19 10:33 bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2011-12-19 10:33 UTC (permalink / raw)
  To: ecos-bugs

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001424

           Summary: Compilation problem when using native/embedded gcc on
                    linux (Ubuntu)
           Product: eCos
           Version: CVS
          Platform: Custom (Customer specific)
        OS/Version: MIPS
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: macpaul@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1472)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1472)
The patch of mips32 compilation problem with native cross-toolcahin

File: packages/hal/mips/arch/current/src/redboot_linux_exec.c
Description: 

When compiling packages/hal/mips/arch/current/src/redboot_linux_exec.c will
lead error when using cross-gcc on pure Linux environment.

While if the compiler produced by chip vendor, like Atheros, or produced by
OpenWrt prject will encounter this problem. (gcc-4.4)

This is because function entry pointer "linux' is a predefined macro in native
gcc toolchain (as well as x86's toolchain).

The fix method is to replace this variable from "linux" to other name like
"linux_os".

Please refer to the attachment.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

end of thread, other threads:[~2011-12-19 10:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-19 10:33 [Bug 1001424] New: Compilation problem when using native/embedded gcc on linux (Ubuntu) bugzilla-daemon
2011-12-19 10:33 bugzilla-daemon

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).