long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion

Jonathan Wakely jwakely.gcc@gmail.com
Wed Sep 7 15:42:00 GMT 2011


On 7 September 2011 16:25, Bruce Hoglund wrote:
>
> configure:5771: result: 0
> configure:5785: checking size of int
> configure:5790: gcc -o conftest -g -fkeep-inline-functions    conftest.c  >&5
> Undefined symbols for architecture x86_64:
>  "___builtin___stpncpy_chk", referenced from:
>      ___inline_stpncpy_chk in ccL1VweA.o
> ld: symbol(s) not found for architecture x86_64
> collect2: ld returned 1 exit status
> configure:5790: $? = 1
> configure: program exited with status 1
> configure: failed program was:
> | /* confdefs.h */
>
> "
>
> Looks like the checker program ( "confdefs.h") did not have an uptodate idea of w the x86_64 architecture should have or not have, but I may be quite wrong.

You are.  It's just telling you that the symbol it's trying to find is
an x86_64 symbol.

Again, ignore failures except the "cannot compute sizeof (long long)"
one, they do not indicate a problem, that's what's supposed to happen.



More information about the Gcc-help mailing list