This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Solaris vtv port breaks x32 build


On 01.12.2015 03:58, Ulrich Drepper wrote:
On Mon, Nov 30, 2015 at 9:14 PM, Jeff Law <law@redhat.com> wrote:
Right, but isn't AC_COMPILE_IFELSE a compile test, not a run test?


The problem macro is _AC_COMPILER_EXEEXT_WORKS.  The message is at the end.

This macro *should* work for cross-compiling but somehow it doesn't
work.  In libvtv/configure $cross_compiling is not defined
appropriately.  I'm configuring with the following which definitely
indicates that cross-compiling is selected.

that might be another instance of
https://gcc.gnu.org/ml/gcc-patches/2015-01/msg02064.html
Does something like this help?

Index: libvtv/configure.ac
===================================================================
--- libvtv/configure.ac	(revision 231050)
+++ libvtv/configure.ac	(working copy)
@@ -6,6 +6,8 @@
 #AC_INIT(package-unused, version-unused, libvtv)
 AC_CONFIG_SRCDIR([vtv_rts.h])

+AM_ENABLE_MULTILIB(, ..)
+
 # -------
 # Options
 # -------
@@ -73,7 +75,6 @@
 AM_CONDITIONAL(ENABLE_VTABLE_VERIFY, test $use_vtable_verify = yes)

 AM_INIT_AUTOMAKE(foreign no-dist)
-AM_ENABLE_MULTILIB(, ..)
 AM_MAINTAINER_MODE

 LIBVTV_CONFIGURE


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]