* [Buildroot] ld.real: cannot find -lgcc_s
@ 2006-10-10 13:25 Michael
0 siblings, 0 replies; 4+ messages in thread
From: Michael @ 2006-10-10 13:25 UTC (permalink / raw)
To: buildroot
When I unset BR2_GCC_SHARED_LIBGCC in the buildroot
configuration. The following error messages appeared.
How do I need to do to resolve the problem?
Thanks in advance,
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc
-Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing
-fomit-frame-pointer -Dfork=vfork -D__PIC__ -fpic -msingle-pic-base -c
hello.c
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc
-Wl,-elf2flt=-s32768 -fpic -msingle-pic-base -o hello hello.o
hello.elf2flt: In function `__uClibc_fini':
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0x888):
undefined reference to `__fini_array_start'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0x88c):
undefined reference to `__fini_array_end'
hello.elf2flt: In function `__uClibc_main':
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa1c):
undefined reference to `__preinit_array_end'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa20):
undefined reference to `__preinit_array_start'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa2c):
undefined reference to `__init_array_end'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa30):
undefined reference to `__init_array_start'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] ld.real: cannot find -lgcc_s
@ 2006-10-10 13:30 Michael
0 siblings, 0 replies; 4+ messages in thread
From: Michael @ 2006-10-10 13:30 UTC (permalink / raw)
To: buildroot
On Tue Oct 10 04:16:50 PDT 2006, Fredrik Roubert wrote:
>One possible solution is to unset BR2_GCC_SHARED_LIBGCC in the buildroot
>configuration, to get rid of the shared libgcc alltogether.
When I unset BR2_GCC_SHARED_LIBGCC in the buildroot
configuration. The following messages appeared.
How do I need to do to resolve the problem?
Thanks in advance,
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc
-Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing
-fomit-frame-pointer -Dfork=vfork -D__PIC__ -fpic -msingle-pic-base -c
hello.c
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc
-Wl,-elf2flt=-s32768 -fpic -msingle-pic-base -o hello hello.o
hello.elf2flt: In function `__uClibc_fini':
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0x888):
undefined reference to `__fini_array_start'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0x88c):
undefined reference to `__fini_array_end'
hello.elf2flt: In function `__uClibc_main':
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa1c):
undefined reference to `__preinit_array_end'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa20):
undefined reference to `__preinit_array_start'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa2c):
undefined reference to `__init_array_end'
/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/toolchain_build_arm_nofpu/gcc-3.4.2/gcc/config/arm/lib1funcs.asm:(.text+0xa30):
undefined reference to `__init_array_start'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] ld.real: cannot find -lgcc_s
@ 2006-10-10 10:56 Michael
2006-10-10 11:16 ` Fredrik Roubert
0 siblings, 1 reply; 4+ messages in thread
From: Michael @ 2006-10-10 10:56 UTC (permalink / raw)
To: buildroot
I'm trying to build the latest(20061009) buildroot but I ran into some
problems.
It's okay to complie the source.
------------------------------
-----------------------------------------------------------------------------
"/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc
-Wall -Wstrict-prototypes -Wshadow -Os -fstrict-aliasing
-fomit-frame-pointer -Dfork=vfork -D__PIC__ -fpic -msingle-pic-base -c
hello.c"
-----------------------------------------------------------------------------------------------------------
But when I trying to link the object I got some errors:
-----------------------------------------------------------------------------------------------------------
"/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc
-Wl,-elf2flt=-s32768 -fpic -msingle-pic-base -o hello hello.o"
"/home/mike/Buildroot/buildroot-20061009-ARM-NOMM/build_arm_nofpu/staging_dir/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.2/../../../../arm-linux-uclibc/bin/ld.real:
cannot find -lgcc_s"
"collect2: ld returned 1 exit status"
-----------------------------------------------------------------------------------------------------------
How do I need to do to resolve the "cannot find -lgcc_s" problem?
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20061010/02a4b885/attachment.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-10-10 13:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-10 13:25 [Buildroot] ld.real: cannot find -lgcc_s Michael
-- strict thread matches above, loose matches on Subject: below --
2006-10-10 13:30 Michael
2006-10-10 10:56 Michael
2006-10-10 11:16 ` Fredrik Roubert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox