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

Greg Ungerer gerg at snapgear.com
Mon Aug 8 22:13:35 EDT 2005


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



More information about the uClinux-dev mailing list