From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29744 invoked by alias); 2 Jan 2013 12:17:38 -0000 Received: (qmail 29639 invoked by uid 48); 2 Jan 2013 12:17:08 -0000 From: "gretay at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/55780] effective targets arm_arch_v*_multilib are not strict enough Date: Wed, 02 Jan 2013 12:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gretay at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg00085.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55780 gretay at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gretay at gcc dot gnu.org --- Comment #1 from gretay at gcc dot gnu.org 2013-01-02 12:17:07 UTC --- The intention of arm_arch_v*_multilib is to check which multilibs available in the toolchain rather than hardware capabilities. These effective target checks fail at link time, but there is no check_link procedure in gcc/testsuite/lib so check_runtime is used instead. For example, using compiler with armv7a (cortex-a15) libraries only, arm_arch_v6m_multilib effective target check fails and the test is UNSUPPORTED in my setting on qemu: $ cat arm_arch_v6m_multilib8582.c int main (void) { return 0; } $ /work/dec-builds/base/install/bin/arm-none-eabi-gcc arm_arch_v6m_multilib8582.c -fno-diagnostics-show-caret -march=armv6-m -mthumb -DSTACK_SIZE=16384 -lm -o arm_arch_v6m_multilib8582.exe /work/dec-builds/base/install/lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld: error: /tmp/ccwSCtn0.o: Conflicting architecture profiles M/A /work/dec-builds/base/install/lib/gcc/arm-none-eabi/4.8.0/../../../../arm-none-eabi/bin/ld: failed to merge target specific data of file /tmp/ccwSCtn0.o collect2: error: ld returned 1 exit status UNSUPPORTED: gcc.target/arm/ftest-armv6m-thumb.c Configured with: --target=arm-none-eabi --with-newlib --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --disable-shared --disable-nls --disable-threads --disable-lto --disable-tls --enable-checking=yes --disable-libssp --disable-libgomp --disable-libmudflap --with-cpu=cortex-a15 --with-fpu=neon-vfpv4 --with-float=softfp Thread model: single gcc version 4.8.0 20121213 (experimental) (GCC)