opensp_1.5: `do_compile` fails with for example `RastEventHandler.cxx:(.text+0x7f0): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'`
Dear OE folks,
trying to build openjade to test ab83ea [1], task do_compile of opensp_1.5.bb [2] fails with the following error with minimal (eglibc) for MACHINE = "beagleboard".
[…]
| /bin/sh ../arm-oe-linux-gnueabi-libtool --tag=CXX --mode=link arm-oe-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -L/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o ../lib/libosp.la -lpthread
| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o .libs/onsgmls nsgmls.o SgmlsEventHandler.o RastEventHandler.o StringSet.o nsgmls_inst.o -L/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib ../lib/.libs/libosp.so /oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib/libstdc++.so -lm -lpthread -Wl,-rpath -Wl,/usr/lib -Wl,-rpath -Wl,/oe/build-minimal-eglibc/minimal-dev/sysroots/armv7a-oe-linux-gnueabi/usr/lib | SgmlsEventHandler.o: In function `OpenSP::SgmlsEventHandler::startElement(OpenSP::StartElementEvent*)':
| SgmlsEventHandler.cxx:(.text+0x1374): undefined reference to `OpenSP::StartElementEvent::mustOmitEnd() const'
| RastEventHandler.o: In function `OpenSP::RastEventHandler::sgmlDecl(OpenSP::SgmlDeclEvent*)':
| RastEventHandler.cxx:(.text+0x7f0): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
| RastEventHandler.cxx:(.text+0x814): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
| RastEventHandler.cxx:(.text+0x838): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
| RastEventHandler.cxx:(.text+0x85c): undefined reference to `OpenSP::Sd::execToInternal(char const*) const'
| RastEventHandler.o: In function `OpenSP::RastEventHandler::attributeInfo(OpenSP::AttributeList const&, OpenSP::RastSubdocState::AttributeType)':
| RastEventHandler.cxx:(.text+0x16fc): undefined reference to `OpenSP::TokenizedAttributeValue::tokenLocation(unsigned int) const'
| collect2: ld returned 1 exit status
| make[3]: *** [onsgmls] Error 1
| make[3]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/nsgmls'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/nsgmls'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/oe/build-minimal-eglibc/minimal-dev/work/armv7a-oe-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package opensp-1.5-r2: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /oe/openembedded/recipes/opensp/opensp_1.5.bb do_compile failed
ERROR: Task 12 (/oe/openembedded/recipes/opensp/opensp_1.5.bb, do_compile) failed with 256
ERROR: '/oe/openembedded/recipes/opensp/opensp_1.5.bb' failed
ERROR: '/oe/openembedded/recipes/opensp/opensp_1.5.bb' failed
Does anyone know what might cause this?
Thanks,
Paul
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=ab83ea3d6e6b881480cb6665e9921b65f9b6e682
[2] http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/opensp/?id=6fe7cef27069415f2eba36bc640cf59013d4979b
Quoted 7 lines · Paul Menzel
Dear OE folks,
trying to build openjade to test ab83ea [1], task
do_compileofopensp_1.5.bb[2] fails with the following error withminimal(eglibc) forMACHINE = "beagleboard".
is it a regression ? did it built ok without this patch ?
-khem
Am Montag, den 18.10.2010, 11:39 -0700 schrieb Khem Raj:
Quoted 7 lines · Paul Menzel
Quoted 4 lines
trying to build openjade to test ab83ea [1], task
do_compileofopensp_1.5.bb[2] fails with the following error withminimal(eglibc) forMACHINE = "beagleboard".is it a regression ? did it built ok without this patch ?
Well, opensp_1.5.bb was not changed as far as I can see. So I do not think it is a regression. I will try it anyway.
Thanks,
Paul
Am Montag, den 18.10.2010, 22:23 +0200 schrieb Paul Menzel:
Quoted 11 lines
Am Montag, den 18.10.2010, 11:39 -0700 schrieb Khem Raj:
Quoted 7 lines · Paul Menzel
Quoted 4 lines
trying to build openjade to test ab83ea [1], task
do_compileofopensp_1.5.bb[2] fails with the following error withminimal(eglibc) forMACHINE = "beagleboard".is it a regression ? did it built ok without this patch ?
Well,
opensp_1.5.bbwas not changed as far as I can see. So I do not think it is a regression. I will try it anyway.
Reverting the patch did not have any effect.
I build tested OpenSP with other distributions. It worked with minimal (libc).
It failed for minimal-uclibc with the same error.
It failed for angstrom-2008.1 with a different error.
[…] /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o .libs/osx sx.o XmlOutputEventHandler.o sx_inst.o -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib ../lib/.libs/libosp.so /oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.so -lpthread -Wl,-rpath -Wl,/usr/lib /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libc.so, needed by /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libgcc_s.so, not found (try using -rpath or -rpath-link) XmlOutputEventHandler.o: In function `OpenSP::XmlOutputEventHandler::fsiToUrl(OpenSP::String<unsigned int> const&, OpenSP::Location const&, OpenSP::String<unsigned int>&)': /oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx/XmlOutputEventHandler.cxx:789: undefined reference to `OpenSP::InputSource::get(OpenSP::Messenger&)' collect2: ld returned 1 exit status make[3]: *** [osx] Error 1 make[3]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[2]: *** [all] Error 2 make[2]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5' make: *** [all] Error 2 FATAL: oe_runmake failed ERROR: Function do_compile failed
The BitBake run was interrupted. I will try a clean build to confirm the issue for sure.
Thanks,
Paul
Am Dienstag, den 19.10.2010, 01:07 +0200 schrieb Paul Menzel:
Quoted 39 lines
Am Montag, den 18.10.2010, 22:23 +0200 schrieb Paul Menzel:
Quoted 11 lines
Am Montag, den 18.10.2010, 11:39 -0700 schrieb Khem Raj:
Quoted 7 lines · Paul Menzel
Quoted 4 lines
trying to build openjade to test ab83ea [1], task
do_compileofopensp_1.5.bb[2] fails with the following error withminimal(eglibc) forMACHINE = "beagleboard".is it a regression ? did it built ok without this patch ?
Well,
opensp_1.5.bbwas not changed as far as I can see. So I do not think it is a regression. I will try it anyway.Reverting the patch did not have any effect.
I build tested OpenSP with other distributions. It worked with
minimal(libc).It failed for
minimal-uclibcwith the same error.It failed for
angstrom-2008.1with a different error.[…] /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o .libs/osx sx.o XmlOutputEventHandler.o sx_inst.o -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib ../lib/.libs/libosp.so /oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.so -lpthread -Wl,-rpath -Wl,/usr/lib /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libc.so, needed by /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libgcc_s.so, not found (try using -rpath or -rpath-link) XmlOutputEventHandler.o: In function `OpenSP::XmlOutputEventHandler::fsiToUrl(OpenSP::String<unsigned int> const&, OpenSP::Location const&, OpenSP::String<unsigned int>&)': /oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx/XmlOutputEventHandler.cxx:789: undefined reference to `OpenSP::InputSource::get(OpenSP::Messenger&)' collect2: ld returned 1 exit status make[3]: *** [osx] Error 1 make[3]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[2]: *** [all] Error 2 make[2]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5' make: *** [all] Error 2 FATAL: oe_runmake failed ERROR: Function do_compile failed
Quoted 2 lines
The BitBake run was interrupted. I will try a clean build to confirm the issue for sure.
The issues are still there after a clean build. Only minimal-libc works fine.
Thanks,
Paul
Quoted 40 lines · Paul Menzel
Am Dienstag, den 19.10.2010, 01:07 +0200 schrieb Paul Menzel:
Quoted 39 lines
Am Montag, den 18.10.2010, 22:23 +0200 schrieb Paul Menzel:
Quoted 11 lines
Am Montag, den 18.10.2010, 11:39 -0700 schrieb Khem Raj:
Quoted 7 lines · Paul Menzel
Quoted 4 lines
trying to build openjade to test ab83ea [1], task
do_compileofopensp_1.5.bb[2] fails with the following error withminimal(eglibc) forMACHINE = "beagleboard".is it a regression ? did it built ok without this patch ?
Well,
opensp_1.5.bbwas not changed as far as I can see. So I do not think it is a regression. I will try it anyway.Reverting the patch did not have any effect.
I build tested OpenSP with other distributions. It worked with
minimal(libc).It failed for
minimal-uclibcwith the same error.It failed for
angstrom-2008.1with a different error.[…]
/bin/sh../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o .libs/osx sx.o XmlOutputEventHandler.o sx_inst.o -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib ../lib/.libs/libosp.so /oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.so -lpthread -Wl,-rpath -Wl,/usr/lib /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libc.so, needed by /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libgcc_s.so, not found (try using -rpath or -rpath-link)
XmlOutputEventHandler.o: In function `OpenSP::XmlOutputEventHandler::fsiToUrl(OpenSP::String<unsigned int> const&,OpenSP::Locationconst&, OpenSP::String<unsigned int>&)':
/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx/XmlOutputEventHandler.cxx:789: undefined reference to `OpenSP::InputSource::get(OpenSP::Messenger&)'
collect2: ld returned 1 exit status
make[3]: *** [osx] Error 1
make[3]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5'
make: *** [all] Error 2
FATAL:oe_runmakefailed
ERROR: Functiondo_compilefailed
Quoted 5 lines
Quoted 2 lines
The BitBake run was interrupted. I will try a clean build to confirm the issue for sure.
The issues are still there after a clean build. Only
minimal-libcworks fine.
Several Gumstix customers are seeing this issue too. Did you ever discover the root cause or even a workaround?
Is your build machine a 32 bit or 64 bit distro? There seems to be some anecdotal evidence that it may be 64 bit related.
Steve
Am Dienstag, den 21.12.2010, 13:28 -0800 schrieb Steve Sakoman:
Quoted 41 lines · Paul Menzel
Quoted 40 lines
Am Dienstag, den 19.10.2010, 01:07 +0200 schrieb Paul Menzel:
Quoted 39 lines
Am Montag, den 18.10.2010, 22:23 +0200 schrieb Paul Menzel:
Quoted 11 lines
Am Montag, den 18.10.2010, 11:39 -0700 schrieb Khem Raj:
Quoted 7 lines · Paul Menzel
Quoted 4 lines
trying to build openjade to test ab83ea [1], task
do_compileofopensp_1.5.bb[2] fails with the following error withminimal(eglibc) forMACHINE = "beagleboard".is it a regression ? did it built ok without this patch ?
Well,
opensp_1.5.bbwas not changed as far as I can see. So I do not think it is a regression. I will try it anyway.Reverting the patch did not have any effect.
I build tested OpenSP with other distributions. It worked with
minimal(libc).It failed for
minimal-uclibcwith the same error.It failed for
angstrom-2008.1with a different error.[…] /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o .libs/osx sx.o XmlOutputEventHandler.o sx_inst.o -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib ../lib/.libs/libosp.so /oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.so -lpthread -Wl,-rpath -Wl,/usr/lib /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libc.so, needed by /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libgcc_s.so, not found (try using -rpath or -rpath-link) XmlOutputEventHandler.o: In function `OpenSP::XmlOutputEventHandler::fsiToUrl(OpenSP::String<unsigned int> const&, OpenSP::Location const&, OpenSP::String<unsigned int>&)': /oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx/XmlOutputEventHandler.cxx:789: undefined reference to `OpenSP::InputSource::get(OpenSP::Messenger&)' collect2: ld returned 1 exit status make[3]: *** [osx] Error 1 make[3]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[2]: *** [all] Error 2 make[2]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5' make: *** [all] Error 2 FATAL: oe_runmake failed ERROR: Function do_compile failed
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
The BitBake run was interrupted. I will try a clean build to confirm the issue for sure.
The issues are still there after a clean build. Only
minimal-libcworks fine.Several Gumstix customers are seeing this issue too. Did you ever discover the root cause or even a workaround?
Sorry, I discovered neither the cause nor a workaround.
Quoted 2 lines
Is your build machine a 32 bit or 64 bit distro? There seems to be some anecdotal evidence that it may be 64 bit related.
It is a Xen virtual guest system (i686) running on an AMD64.
Thanks,
Paul
Quoted 56 lines · On Tue, 21 Dec 2010 23:15:32 +0100 Paul Menzel…
Am Dienstag, den 21.12.2010, 13:28 -0800 schrieb Steve Sakoman:
Quoted 41 lines · Paul Menzel
Quoted 40 lines
Am Dienstag, den 19.10.2010, 01:07 +0200 schrieb Paul Menzel:
Quoted 39 lines
Am Montag, den 18.10.2010, 22:23 +0200 schrieb Paul Menzel:
Quoted 11 lines
Am Montag, den 18.10.2010, 11:39 -0700 schrieb Khem Raj:
Quoted 7 lines · Paul Menzel
Quoted 4 lines
trying to build openjade to test ab83ea [1], task
do_compileofopensp_1.5.bb[2] fails with the following error withminimal(eglibc) forMACHINE = "beagleboard".is it a regression ? did it built ok without this patch ?
Well,
opensp_1.5.bbwas not changed as far as I can see. So I do not think it is a regression. I will try it anyway.Reverting the patch did not have any effect.
I build tested OpenSP with other distributions. It worked with
minimal(libc).It failed for
minimal-uclibcwith the same error.It failed for
angstrom-2008.1with a different error.[…] /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CXX --mode=link arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o osx sx.o XmlOutputEventHandler.o sx_inst.o ../lib/libosp.la -lpthread arm-angstrom-linux-gnueabi-libtool: link: arm-angstrom-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -isystem/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -fpermissive -fvisibility-inlines-hidden -Wl,-rpath-link -Wl,/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o .libs/osx sx.o XmlOutputEventHandler.o sx_inst.o -L/oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib ../lib/.libs/libosp.so /oe/build/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libstdc++.so -lpthread -Wl,-rpath -Wl,/usr/lib /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: warning: libc.so, needed by /oe/build/angstrom-dev/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libgcc_s.so, not found (try using -rpath or -rpath-link) XmlOutputEventHandler.o: In function `OpenSP::XmlOutputEventHandler::fsiToUrl(OpenSP::String<unsigned int> const&, OpenSP::Location const&, OpenSP::String<unsigned int>&)': /oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx/XmlOutputEventHandler.cxx:789: undefined reference to `OpenSP::InputSource::get(OpenSP::Messenger&)' collect2: ld returned 1 exit status make[3]: *** [osx] Error 1 make[3]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[2]: *** [all] Error 2 make[2]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5/sx' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/oe/build/angstrom-dev/work/armv7a-angstrom-linux-gnueabi/opensp-1.5-r2/OpenSP-1.5' make: *** [all] Error 2 FATAL: oe_runmake failed ERROR: Function do_compile failedQuoted 8 lines
Quoted 5 lines
Quoted 2 lines
The BitBake run was interrupted. I will try a clean build to confirm the issue for sure.
The issues are still there after a clean build. Only
minimal-libcworks fine.Several Gumstix customers are seeing this issue too. Did you ever discover the root cause or even a workaround?
Sorry, I discovered neither the cause nor a workaround.
Quoted 2 lines
Is your build machine a 32 bit or 64 bit distro? There seems to be some anecdotal evidence that it may be 64 bit related.
Quoted 6 lines
It is a Xen virtual guest system (i686) running on an AMD64.
Thanks,
Paul
I faced the same problem, it's about CXXFLAGS. export CXXFLAGS as -02, if problem still happens try export LD=CXX.
Signature · 2 lines
~ @memre <Mehmet Emre Atasever> __EOM