From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24837 invoked by alias); 2 Feb 2011 20:41:53 -0000 Received: (qmail 24824 invoked by uid 22791); 2 Feb 2011 20:41:51 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BJ,TW_CX,TW_DC,TW_GX X-Spam-Check-By: sourceware.org Received: from mail-qy0-f170.google.com (HELO mail-qy0-f170.google.com) (209.85.216.170) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 02 Feb 2011 20:41:46 +0000 Received: by qyk10 with SMTP id 10so6922236qyk.15 for ; Wed, 02 Feb 2011 12:41:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.91.10 with SMTP id k10mr8492704qcm.141.1296679304776; Wed, 02 Feb 2011 12:41:44 -0800 (PST) Received: by 10.220.170.197 with HTTP; Wed, 2 Feb 2011 12:41:44 -0800 (PST) Date: Wed, 02 Feb 2011 20:41:00 -0000 Message-ID: Subject: Build error on 'make tests' for synthetic target From: Michael Bergandi To: eCos Developer List Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2011-02/txt/msg00000.txt.bz2 Gentleman, I am trying to use the synthetic target to do some testing of a package I am working on. My package has some tests that I would like to build, but I haven't figured out how to build only the tests for it and not everything else. If someone could provide some guidance on that, that would be great. In the mean time, I tried to just build all of the tests and the build errored out with the following: 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 I am running on Ubuntu 10.04.1 LTS. Here is some config info: root@mb-dev1:/home/mike# 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 root@mb-dev1:/home/mike# 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) Has anyone else attempted building the tests on the synthetic target or figure out what to do with the error above? -- Mike