В сообщении от Вторник 28 декабря 2010 21:23:39 автор Frans Meulenbroeks написал: > 2010/12/27 Roman I Khimov <[email protected]>: > > r...@kettle:oe-arm$ cat > > tmp/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib/perl/config.sh | grep > > -E "^(cc=|ld=|ldflags=)" cc="arm-angstrom-linux-gnueabi-gcc > > -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mno-thumb" > > ld="arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s > > -mthumb-interwork -mno-thumb" > > ldflags="-L/storage/work/oe/oe-arm/tmp/sysroots/armv5te-angstrom-linux-gn > >ueabi/usr/lib > > -Wl,-rpath-link,/storage/work/oe/oe-arm/tmp/sysroots/armv5te-angstrom-lin > >ux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu" > > Comparing notes: I have: > > fr...@linux-suse:~/oe> cat > tmp_minimal/sysroots/armv5te-oe-linux-gnueabi/usr/lib/perl/config.sh | > grep -E "^(cc=|ld=|ldflags=)" > cc="arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s > -mthumb-interwork -mthumb" > ld="arm-oe-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s > -mthumb-interwork -mthumb" > ldflags="-Wl,-O1 -Wl,--hash-style=gnu" > > Note the different definition of ldflags. (no -L ) and the -mthumb > versus -mno-thumb.
We might have different targets for thumb things (mine is qemuarm), but "-L" difference seems suspicious (my test build is for 'angstrom-2008.1' if that matters). > Btw I am using libtool 2.4 with systool support (should that matter) Maybe, maybe. I should try some newer distro for my test builds. > > Same definitions in Config_heavy. It should be working without that. I've > > Should I have this file in sysroots/armv5te.... ? > I only have > fr...@linux-suse:~/oe/tmp_minimal/sysroots> find | grep heavy > ./i686-linux/usr/lib/perl/5.10.1/Config_heavy.pl > ./i686-linux/usr/lib/perl/5.10.1/utf8_heavy.pl > ./i686-linux/usr/lib/perl/5.10.1/Config_heavy-target.pl > ./i686-linux/usr/lib/perl/5.10.1/bytes_heavy.pl > ./armv5te-oe-linux-gnueabi/usr/share/mysql/my-innodb-heavy-4G.cnf > ./armv7a-oe-linux-gnueabi/usr/share/mysql/my-innodb-heavy-4G.cnf > > And Config_heavy.pl says: > fr...@linux-suse:~/oe/tmp_minimal/sysroots> grep -E > "^(cc=|ld=|ldflags=)" ./i686-linux/usr/lib/perl/5.10.1/Config_heavy.pl That's the wrong one, you're interested in Config_heavy-target.pl, or Config_heavy-arm-angstrom-linux-gnueabi.pl after my recent patch series (that I'll push today). -- http://roman.khimov.ru mailto: [email protected] gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
