[BUG] POWER: undefined reference to `_restgpr_25_x'
Bin Meng
bmeng.cn at gmail.com
Mon Dec 16 16:10:21 CET 2019
Hi Heinrich,
On Mon, Dec 16, 2019 at 6:06 PM Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
>
> Hello Wolfgang,
>
> with powerpc64-linux-gnu-gcc, version 9.2.1, big endian I see the errors
> below when compiling P2041RDB_defconfig.
>
> post/drivers/memory.c:268: undefined reference to `_restgpr_25_x'
> powerpc64-linux-gnu-ld.bfd: post/built-in.o: in function
> `memory_post_test_lines':
> post/drivers/memory.c:408: undefined reference to `_restgpr_31_x'
> powerpc64-linux-gnu-ld.bfd: post/built-in.o: in function
> `memory_post_test_patterns':
> post/drivers/memory.c:436: undefined reference to `_restgpr_29_x'
> powerpc64-linux-gnu-ld.bfd: post/built-in.o: in function
> `memory_post_test_regions':
> post/drivers/memory.c:453: undefined reference to `_restgpr_29_x'
> powerpc64-linux-gnu-ld.bfd: post/built-in.o: in function `memory_post_test':
> post/drivers/memory.c:540: undefined reference to `_restgpr_26_x'
> make: *** [Makefile:1671: u-boot] Error
>
> On Debian Buster I issued the following commands:
>
> make P2041RDB_defconfig
> sudo apt-get install gcc-powerpc64-linux-gnu
> export CROSS_COMPILE=powerpc64-linux-gnu-
> make
Could you please paste the output of "powerpc64-linux-gnu-gcc -v
<some_source>.c"
Regards,
Bin
More information about the U-Boot
mailing list