Am 03.02.2011 12:53, schrieb Holger Freyther:
> On 02/03/2011 12:50 PM, Steffen Sledz wrote:
>
>>>
>>> find . -name config.log... there will be a config.log...
>>
>> You're right. Sorry. It was somewhat hidden in a subdir. See attached file.
>
> Please take a look yourself. config.log is a bit weird, the error is not at
> the bottom... but searching for the output of the last test... you will see
> the failure...
The output says
------------------->snip<------------------
configure:5992: checking for .preinit_array/.init_array/.fini_array support
configure:6005: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s
-mthumb-interwork -mno-thumb
-I/SCRATCH/SSZ/HydraIP/profiling/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
-pg -pg
-L/SCRATCH/SSZ/HydraIP/profiling/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib
-Wl,-rpath-link,/SCRATCH/SSZ/HydraIP/profiling/OE/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,--hash-style=gnu -o conftest conftest.c
-static -nostartfiles -nostdlib 1>&5
/tmp/ccaARULp.o: In function `_start':
conftest.c:(.text+0xc): undefined reference to `mcount'
/tmp/ccaARULp.o: In function `__start':
conftest.c:(.text+0x28): undefined reference to `mcount'
/tmp/ccaARULp.o: In function `foo':
conftest.c:(.text+0x44): undefined reference to `mcount'
collect2: ld returned 1 exit status
configure:6008: $? = 1
configure:6021: result: no
configure:6024: error: Need linker with .init_array/.fini_array support.
------------------->snip<------------------
The related code in configure seems to be
------------------->snip<------------------
cat > conftest.c <<EOF
int _start (void) { return 0; }
int __start (void) { return 0; }
int foo (void) { return 1; }
int (*fp) (void) __attribute__ ((section (".init_array"))) = foo;
EOF
------------------->snip<------------------
But i've no idea what the real problem is. It looks like it's not related to
the ".init_array" but to the missing `mcount' symbol.
Steffen
--
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel