Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: Can't build libcgroup
Date: Thu, 13 Oct 2011 08:28:42 -0600	[thread overview]
Message-ID: <4E96F59A.6030206@mlbassoc.com> (raw)
In-Reply-To: <6E64F0B8-773E-4558-B470-37BA010F419D@ti.com>

On 2011-10-13 08:16, Kridner, Jason wrote:
> On Oct 13, 2011, at 8:39 AM, "Gary Thomas"<gary@mlbassoc.com>  wrote:
>
>> Trying to follow the Angstrom instructions directly.
>>
>> OE Build Configuration:
>> BB_VERSION        = "1.13.3"
>> TARGET_ARCH       = "arm"
>> TARGET_OS         = "linux-gnueabi"
>> MACHINE           = "beagleboard"
>> DISTRO            = "angstrom"
>> DISTRO_VERSION    = "v2011.10-core"
>> TUNE_FEATURES     = "armv7a vfp neon cortexa8"
>> TARGET_FPU        = "vfp-neon"
>> meta-angstrom     = "master:66263650f8548d6b0b5f593ab728f536d5e05a9f"
>> meta-oe
>> meta-efl
>> meta-gpe
>> meta-gnome
>> meta-xfce         = "master:1e5d73ec4f44200104de085838f04e31a49435da"
>> meta-ti           = "master:3530f1025efc3792334b897a4e70c6d5822ef56d"
>> meta              = "master:5ad1ca59dea6d5045f252ed7b786ad193faced64"
>>
>> Fails with this error:
>> | ccache arm-angstrom-linux-gnueabi-gcc  -march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb --sysroot=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -g -feliminate-unused-debug-types -Wall -c walk_test.c
>> | libcg_ba.cpp:18:18: fatal error: string: No such file or directory
>> | compilation terminated.
>> | make[2]: *** [libcg_ba.o] Error 1
>> | make[2]: *** Waiting for unfinished jobs....
>> | make[2]: Leaving directory `/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/libcgroup-0.37.1-r0/libcgroup-0.37.1/tests'
>>
>> Full compile log at http://www.mlbassoc.com/oe/libcgroup-log.do_compile
>
> I have the same issue on a 64-bit Ubuntu machine.

Mine is 32 bit Fedora 13.

The problem seems to be that G++ 4.5.4 is misconfigured.  Running it by hand:

[gthomas@titan tests]$ PATH=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:$PATH arm-angstrom-linux-gnueabi-g++ 
-march=armv7-a -fno-tree-vectorize      -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb 
--sysroot=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -g -feliminate-unused-debug-types 
-fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -c -o libcg_ba.o libcg_ba.cpp -v
Using built-in specs.
COLLECT_GCC=arm-angstrom-linux-gnueabi-g++
COLLECT_LTO_WRAPPER=/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../libexec/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/lto-wrapper
Target: arm-angstrom-linux-gnueabi
Configured with: /local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/work-shared/gcc-4.5-r43+svnr178923/gcc-4_5-branch/configure --build=i686-linux --host=i686-linux 
--target=arm-angstrom-linux-gnueabi --prefix=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr 
--exec_prefix=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr 
--bindir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi 
--sbindir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi 
--libexecdir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/libexec/armv7a-angstrom-linux-gnueabi 
--datadir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/share 
--sysconfdir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/etc 
--sharedstatedir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/com 
--localstatedir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/var 
--libdir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/lib/armv7a-angstrom-linux-gnueabi 
--includedir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/include 
--oldincludedir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/include 
--infodir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/share/info 
--mandir=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking 
--with-libtool-sysroot=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix 
--disable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-gnueabi- --enable-target-optspace --enable-lto 
--enable-libssp --disable-bootstrap --disable-libgomp --disable-libmudflap --enable-cheaders=c_global 
--with-local-prefix=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/usr --with-gxx-include-dir=/usr/include/c++ 
--with-sysroot=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard 
--with-build-sysroot=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard --enable-poison-system-directories 
--with-headers=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/usr/include --disable-nls --disable-libunwind-exceptions 
--with-mpfr=/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr --with-system-zlib --enable-nls --enable-__cxa_atexit
Thread model: posix
gcc version 4.5.4 20110917 (prerelease) (GCC)
COLLECT_GCC_OPTIONS='-march=armv7-a' '-fno-tree-vectorize' '-mfloat-abi=softfp' '-mfpu=neon' '-mtune=cortex-a8' '-mthumb-interwork' '-mno-thumb' '-DHAVE_CONFIG_H' '-I.' '-I..' 
'-I../include' '-O2' '-pipe' '-g' '-feliminate-unused-debug-types' '-fpermissive' '-fvisibility-inlines-hidden' '-c' '-o' 'libcg_ba.o' '-v' '-shared-libgcc'
 
/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../libexec/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/cc1plus 
-quiet -v -I. -I.. -I../include -iprefix 
/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../lib/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/ 
-isysroot /local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard -D_GNU_SOURCE -DHAVE_CONFIG_H libcg_ba.cpp -quiet -dumpbase libcg_ba.cpp -march=armv7-a 
-mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb -auxbase-strip libcg_ba.o -g -O2 -version -fno-tree-vectorize -feliminate-unused-debug-types 
-fpermissive -fvisibility-inlines-hidden -o - |
 
/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../libexec/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/as 
-march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -meabi=5 -o libcg_ba.o
GNU C++ (GCC) version 4.5.4 20110917 (prerelease) (arm-angstrom-linux-gnueabi)
         compiled by GNU C version 4.4.5 20101112 (Red Hat 4.4.5-2), GMP version 5.0.2, MPFR version 3.0.1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory 
"/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../lib/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/../../../../../arm-angstrom-linux-gnueabi/include"
ignoring nonexistent directory "/usr/include/c++/arm-angstrom-linux-gnueabi"
ignoring nonexistent directory "/usr/include/c++/backward"
ignoring nonexistent directory 
"/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/usr/include"
ignoring duplicate directory 
"/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../lib/armv7a-angstrom-linux-gnueabi/gcc/../../../lib/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/include"
ignoring duplicate directory 
"/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../lib/armv7a-angstrom-linux-gnueabi/gcc/../../../lib/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/include-fixed"
ignoring nonexistent directory 
"/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../lib/armv7a-angstrom-linux-gnueabi/gcc/../../../lib/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/../../../../../arm-angstrom-linux-gnueabi/include"
#include "..." search starts here:
#include <...> search starts here:
  .
  ..
  ../include
 
/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../lib/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/include
 
/home/local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi/../../lib/armv7a-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.5.4/include-fixed
  /usr/include/c++
  /local/new-angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/beagleboard/usr/include
End of search list.
GNU C++ (GCC) version 4.5.4 20110917 (prerelease) (arm-angstrom-linux-gnueabi)
         compiled by GNU C version 4.4.5 20101112 (Red Hat 4.4.5-2), GMP version 5.0.2, MPFR version 3.0.1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: ff763b34759d1193f83d28b503f742f0
libcg_ba.cpp:18:18: fatal error: string: No such file or directory

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



  reply	other threads:[~2011-10-13 14:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-13 13:39 Can't build libcgroup Gary Thomas
2011-10-13 14:16 ` Kridner, Jason
2011-10-13 14:28   ` Gary Thomas [this message]
2011-10-13 18:48     ` Khem Raj
2011-10-13 18:57       ` Gary Thomas
2011-10-13 20:33         ` Khem Raj
2011-10-13 20:42           ` Gary Thomas
2011-10-13 20:44             ` Khem Raj
2011-10-13 20:46               ` Gary Thomas
2011-10-13 20:58                 ` Andreas Müller
2011-10-13 21:12                   ` Gary Thomas
2011-10-14  4:37                     ` Jason Kridner
2011-10-14  5:17                       ` Khem Raj
2011-10-14 10:22                         ` Gary Thomas
2011-10-14 15:28                           ` Khem Raj
2011-10-14 15:34                             ` Koen Kooi
2011-10-14 15:44                               ` Gary Thomas
2011-10-14 15:55                                 ` Koen Kooi

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=4E96F59A.6030206@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-devel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox