All of lore.kernel.org
 help / color / mirror / Atom feed
* Native packages compiled with host gcc set in PATH and with LD_LIBRARY_PATH to libstd++
@ 2016-03-04 15:13 Chris Z.
  2016-05-06  8:43 ` Chris Z.
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Z. @ 2016-03-04 15:13 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

Hi,

I have set newer gcc(4.9) in PATH and with proper LD_LIBRARY_PATH. Default
system gcc is 4.4.

Bulding cmake-native fails when bootstrap cmake tries to compile cmake
native binary.

This is due to the fact that bootstrap was compiled with newer glibcxx and
it can't be found in system/host /usr/lib, /usr/lib64 nor in -rpath.

rpath is set to
                        -Wl,-rpath,${STAGING_LIBDIR_NATIVE} \
                        -Wl,-rpath,${STAGING_BASE_LIBDIR_NATIVE} \

from BUILD_LDFLAGS var in bitbake.conf which is expand in native class.

What is the correct approach to fix this ? Or I shouldn't use gcc from PATH
for compilation of native packages ?

[-- Attachment #2: Type: text/html, Size: 852 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-05-06 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-04 15:13 Native packages compiled with host gcc set in PATH and with LD_LIBRARY_PATH to libstd++ Chris Z.
2016-05-06  8:43 ` Chris Z.
2016-05-06 13:55   ` Khem Raj
2016-05-06 14:38     ` Woronicz, Bartosz ( NSN - PL/Wroclaw)

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.