From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: rpm-native build error
Date: Mon, 14 Jul 2014 15:22:00 -0600 [thread overview]
Message-ID: <53C449F8.4030504@mlbassoc.com> (raw)
In-Reply-To: <53C434D9.7000704@windriver.com>
On 2014-07-14 13:51, Mark Hatle wrote:
> On 7/11/14, 11:04 AM, Gary Thomas wrote:
>> I'm getting a build error on rpm-native on my venerable Fedora-13
>> based builder (which I am loathe to update/replace). This probably
>> happened with the update to 5.4.14 but I didn't notice until now
>> as I was away on holiday. Here are the details:
>
> Latest rpm uses C++ to link a few components. (It doesn't use the C++ type library though!)
>
> So I'm a bit confused by it trying to link libstdc++.so.6.
>
> I don't think I have a F-13 machine anymore, I replaced mine finally a couple of months ago. The only thing I can suggest is to look at the makefile and see about linking (and
> compiling) the components with gcc instead of g++. It -might- be a simple patch the makefile.
Thanks, I'll give it a try.
>> | /usr/bin/ld: rpm.o: undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
>> | /usr/bin/ld: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line
>> | /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation
>> | collect2: ld returned 1 exit status
>> | make[2]: *** [rpm] Error 1
>> | make[2]: *** Waiting for unfinished jobs....
>> | /usr/bin/ld: rpmbuild.o: undefined reference to symbol '__gxx_personality_v0@@CXXABI_1.3'
>> | /usr/bin/ld: note: '__gxx_personality_v0@@CXXABI_1.3' is defined in DSO /usr/lib/libstdc++.so.6 so try adding it to the linker command line
>> | /usr/lib/libstdc++.so.6: could not read symbols: Invalid operation
>> | collect2: ld returned 1 exit status
>> | make[2]: *** [rpmbuild] Error 1
>> | make[2]: Leaving directory `/home/local/imx53_2014-07-12/tmp/work/i686-linux/rpm-native/5.4.14-r0/build'
>> | make[1]: *** [all-recursive] Error 1
>> | make[1]: Leaving directory `/home/local/imx53_2014-07-12/tmp/work/i686-linux/rpm-native/5.4.14-r0/build'
>> | make: *** [all] Error 2
>> | ERROR: oe_runmake failed
>> | WARNING: /home/local/imx53_2014-07-12/tmp/work/i686-linux/rpm-native/5.4.14-r0/temp/run.do_compile.18609:1 exit 1 from
>> | exit 1
>> | ERROR: Function failed: do_compile (log file is located at /home/local/imx53_2014-07-12/tmp/work/i686-linux/rpm-native/5.4.14-r0/temp/log.do_compile.18609)
>> ERROR: Task 382 (virtual:native:/home/local/poky-cutting-edge/meta/recipes-devtools/rpm/rpm_5.4.14.bb, do_compile) failed with exit code '1'
>>
>> My configuration is:
>> BB_VERSION = "1.23.1"
>> BUILD_SYS = "i686-linux"
>> NATIVELSBSTRING = "Fedora-13"
>> TARGET_SYS = "arm-amltd-linux-gnueabi"
>> MACHINE = "imx53qsb"
>> DISTRO = "amltd"
>> DISTRO_VERSION = "1.6+snapshot-20140711"
>> TUNE_FEATURES = "arm armv7a vfp neon"
>> TARGET_FPU = "vfp-neon"
>> meta = "master:1cb9f7b00b5ede62a9546c39d798c876775b08c0"
>> meta-oe-local = "master:7dd439b185ccb0de3bb8311122d79e13e8fc2fef"
>> meta-amltd = "master:0b6506b9505e8274110f1a011372c215b517f947"
>> meta-imx6 = "master:fbfbc3ced45619c9f27c0f0694289b97ae935e73"
>> meta-fsl-arm = "master:3941fe0fda4ac9ef372699160133c92ebf4df4e8"
>> meta-fsl-arm-extra = "master:456c27085a70bb1385a4c2e28ba80ac74d6f533e"
>>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
prev parent reply other threads:[~2014-07-14 21:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 16:04 rpm-native build error Gary Thomas
2014-07-14 19:51 ` Mark Hatle
2014-07-14 21:22 ` Gary Thomas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53C449F8.4030504@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.