OSX64 c-c bustage due to configure error: cannot compute suffix of executables: cannot compile and link



Build Config
4 years ago
4 years ago


(Reporter: ewong, Unassigned)


Firefox Tracking Flags

(Not tracked)




4 years ago
We're getting this on c-c OSX build:

checking for stdint.h... yes
checking for inttypes.h... yes
checking for sys/int_types.h... no
checking for posix_fadvise... no
checking for posix_fallocate... no
updating cache /builds/slave/c-cen-t-osx64/build/objdir/i386/config.cache
creating ./config.status
configuring in intl/icu/host
running /bin/sh /builds/slave/c-cen-t-osx64/build/mozilla/intl/icu/source/configure --enable-static --disable-shared --enable-extras=no --enable-icuio=no --enable-layout=no --enable-tests=no --enable-samples=no --cache-file=/builds/slave/c-cen-t-osx64/build/objdir/i386/intl/icu/host/config.cache
configure: creating cache /builds/slave/c-cen-t-osx64/build/objdir/i386/intl/icu/host/config.cache
checking for ICU version numbers... release 52.1, library 52.1, unicode version 6.3
checking build system type... x86_64-apple-darwin11.4.2
checking host system type... x86_64-apple-darwin11.4.2
checking whether to build debug libraries... no
checking whether to build release libraries... yes
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... configure: error: in `/builds/slave/c-cen-t-osx64/build/objdir/i386/intl/icu/host':
configure: error: cannot compute suffix of executables: cannot compile and link
See `config.log' for more details
------ config.log ------
#define posix_fallocate innocuous_posix_fallocate
#include "confdefs.h"
#undef posix_fallocate
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char posix_fallocate(); below.  */
#define posix_fallocate innocuous_posix_fallocate
#include <assert.h>
#undef posix_fallocate
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char posix_fallocate();

int main() {

/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_posix_fallocate) || defined (__stub___posix_fallocate)
choke me

; return 0; }
*** Fix above errors and then restart with               "make -f client.mk build"
make[2]: *** [configure] Error 1
make[1]: *** [/builds/slave/c-cen-t-osx64/build/objdir/i386/Makefile] Error 2
make: *** [build] Error 2
program finished with exit code 2
You need to log in before you can comment on or make changes to this bug.