[uClinux-dev] linux 2.6.x on Arcturus ColdFire uC5272

Keith Nicewarner Keith.Nicewarner at SpaceDev.com
Mon Aug 8 23:20:23 EDT 2005


Then I'm very confused.  I'm being told that others build 2.6.x for the uC5272 using gcc 3.4.0.  Why can't I?  Is there a config option that doesn't build this offending code?  Or is there a patch to fix the asm code?
 
Keith.

________________________________

From: uclinux-dev-bounces at uclinux.org on behalf of Greg Ungerer
Sent: Mon 8/8/2005 7:13 PM
To: uClinux development list
Subject: Re: [uClinux-dev] linux 2.6.x on Arcturus ColdFire uC5272



Hi Keith,

Keith Nicewarner wrote:
> OK, I tried m68k-uclinux-tools-base-gcc3.4.0-20040603 and get this
> error:
>
> In file included from arch/m68knommu/platform/68VZ328/config.c:31:
> include/asm/MC68VZ328.h:912: warning: `packed' attribute ignored
> arch/m68knommu/platform/68VZ328/config.c: In function `gethwaddr':
> arch/m68knommu/platform/68VZ328/config.c:157: error: asm-specifier for
> variable `__res' conflicts with asm clobber list
> arch/m68knommu/platform/68VZ328/config.c: In function `getbenv':
> arch/m68knommu/platform/68VZ328/config.c:158: error: asm-specifier for
> variable `__res' conflicts with asm clobber list
> make[2]: *** [arch/m68knommu/platform/68VZ328/config.o] Error 1
> make[1]: *** [arch/m68knommu/platform/68VZ328] Error 2
> make[1]: Leaving directory
> `/home/tools/src/uClinux-dist-gcc-3.4.0/linux-2.6.x'
> make: *** [linux] Error 1
>
> What am I doing wrong?

I don't think your doing anything wrong. That asm code looks
broken to me, there shounldn't be "%d0" in the clobber list
(function _bsc1 in include/asm-m68knommu/bootstd.h).

Newer versions of gcc are much more pedantic about this type
of thing, older compilers would have been happy with it.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     gerg at snapgear.com
SnapGear -- a CyberGuard Company            PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 5634 bytes
Desc: not available
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20050808/411dc066/attachment.bin>


More information about the uClinux-dev mailing list