Bug 2699 - lib32 connman-gnome built for qemux86-64 fails
Summary: lib32 connman-gnome built for qemux86-64 fails
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.2.1
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.2.2
Assignee: Constantin Musca
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-07-05 09:41 UTC by Laurentiu Serban
Modified: 2012-09-06 07:59 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments
log do_compile (4.68 KB, application/octet-stream)
2012-07-05 09:41 UTC, Laurentiu Serban
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurentiu Serban 2012-07-05 09:41:04 UTC
Created attachment 624 [details]
log do_compile

lib32 connman-gnome built for qemux86-64 fails
local.conf was updated with the following lines:

MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = "lib32-connman-gnome"

The error is for gconf do_compile.

The error log is attached.
Comment 1 Richard Purdie 2012-07-05 10:12:46 UTC
I can give some details on what is happening here. Its basically a bad interaction between the system and libtool. Usually, libtool would see lines like "-rpath /usr/lib64" and then simply drop them since they match the system search paths. Here, its seeing /usr/lib64/../lib64, probably from the way we've configured gcc and this is not matching a standard linker search path, hence its getting passed on.

What is somewhat worrying is that the -rpath is being used for linking, normally this should only get included in the binary and -rpath-link would be used for linking. So there are two issues.
Comment 2 Saul Wold 2012-07-05 15:56:13 UTC
We should check 1.3 also
Comment 3 Constantin Musca 2012-09-06 07:59:19 UTC
I tested it with the following configuration:

MACHINE = "qemux86-64"
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
IMAGE_INSTALL_append = " lib32-connman-gnome"

The build finishes without errors.