This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1001139] New: 'make tests' fails for linux synthetic target
- From: bugzilla-daemon at bugs dot ecos dot sourceware dot org
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Wed, 2 Feb 2011 22:18:00 +0000
- Subject: [Bug 1001139] New: 'make tests' fails for linux synthetic target
- Auto-submitted: auto-generated
Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001139
Summary: 'make tests' fails for linux synthetic target
Product: eCos
Version: CVS
Platform: linux (Linux synthetic target)
OS/Version: HostOS: Linux
Status: UNCONFIRMED
Severity: major
Priority: low
Component: Other
AssignedTo: unassigned@bugs.ecos.sourceware.org
ReportedBy: mbergandi@gmail.com
CC: ecos-bugs@ecos.sourceware.org
Class: Advice Request
I wasn't sure what component to attach this bug to, so I chose other. Feel free
to move it to a more appropriate component, if this is not right.
In setting up the Linux synthetic target for doing some development, I decided
to build all of the ecos tests. Unfortunately, the build errored out with the
following:
$ make tests
...
make -r -C infra/current tests
make[1]: Entering directory `/home/mike/ecos-cvs/synthbuild/infra/current'
gcc -L/home/mike/ecos-cvs/synthbuild/install/lib -Ttarget.ld -o
/home/mike/ecos-cvs/synthbuild/install/tests/infra/current/tests/cxxsupp
tests/cxxsupp.o -g -nostdlib -Wl,-static -Wl,--fatal-warnings
/usr/lib/gcc/i486-linux-gnu/4.4.3/libsupc++.a(cp-demangle.o): In
function `.L644':
(.text+0x3317): undefined reference to `__sprintf_chk'
collect2: ld returned 1 exit status
make[1]: ***
[/home/mike/ecos-cvs/synthbuild/install/tests/infra/current/tests/cxxsupp]
Error 1
make[1]: Leaving directory `/home/mike/ecos-cvs/synthbuild/infra/current'
make: *** [tests] Error 2
The host OS is Ubuntu 10.04.1 LTS. The eCos source is from CVS and was updated
the day of this filing. Here is some other config info from my machine:
# uname -a
Linux mb-dev1 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52
UTC 2010 i686 GNU/Linux
# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.4.3-4ubuntu5'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--enable-shared --enable-multiarch --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4
--program-suffix=-4.4 --enable-nls --enable-clocale=gnu
--enable-libstdcxx-debug --enable-plugin --enable-objc-gc
--enable-targets=all --disable-werror --with-arch-32=i486
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
Someone else reported that building with gcc-4.3 works. I have not tested that
myself.
Mike
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.