Re: [PATCH V2 2/2] m32r: Add missing big-endian I/O accessors

From: Fengguang Wu
Date: Thu Nov 27 2014 - 17:20:41 EST


Add CC to Hirokazu.

> Side note for Fengguang: both with and without my patches, m32r modules
> fail to link using the make.cross script on Ubuntu 14.10:

Yes, the memory_start/memory_end link errors are really old m32r
specific errors. The config file that can trigger this error is
m32r-m32104ut_defconfig.

> CC init/version.o
> LD init/built-in.o
> KSYM .tmp_kallsyms1.o
> KSYM .tmp_kallsyms2.o
> LD vmlinux
> SYSMAP System.map
> Building modules, stage 2.
> OBJCOPY arch/m32r/boot/compressed/vmlinux.bin
> MODPOST 96 modules
> GZIP arch/m32r/boot/compressed/vmlinux.bin.gz
> ERROR: "memory_start" [fs/udf/udf.ko] undefined!
> ERROR: "memory_end" [fs/udf/udf.ko] undefined!
> ERROR: "memory_end" [drivers/scsi/sg.ko] undefined!
> ERROR: "memory_start" [drivers/scsi/sg.ko] undefined!
> ERROR: "memory_end" [drivers/i2c/i2c-dev.ko] undefined!
> ERROR: "memory_start" [drivers/i2c/i2c-dev.ko] undefined!
> scripts/Makefile.modpost:90: recipe for target '__modpost' failed
> make[1]: *** [__modpost] Error 1
> Makefile:1098: recipe for target 'modules' failed
> make: *** [modules] Error 2
> make: *** Waiting for unfinished jobs....
> LD arch/m32r/boot/compressed/piggy.o
> /usr/local/gcc-4.9.0-nolibc/m32r-linux/bin/m32r-linux-ld: target elf32-m32r not found
> arch/m32r/boot/compressed/Makefile:51: recipe for target 'arch/m32r/boot/compressed/piggy.o' failed
> make[2]: *** [arch/m32r/boot/compressed/piggy.o] Error 1
> arch/m32r/boot/Makefile:18: recipe for target 'arch/m32r/boot/compressed/vmlinux' failed
> make[1]: *** [arch/m32r/boot/compressed/vmlinux] Error 2
> arch/m32r/Makefile:53: recipe for target 'zImage' failed
> make: *** [zImage] Error 2

Thanks,
Fengguang
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/