public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
@ 2011-09-06 21:22 Bruce Hoglund
  2011-09-06 21:52 ` Jonathan Wakely
  0 siblings, 1 reply; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-06 21:22 UTC (permalink / raw)
  To: gcc-help

I'm trying to build gcc 4.6.1 on my iMac (Core 2 Duo) on Mac OS X 10.7.1. I used MacPorts (port) to install the MPC, GMP, and MPFR library files in /usr/local/lib.

I configure by:
sudo ~/tmp/gcc-4.6.1/configure --enable-languages=c,fortran,java,objc --enable-threads --with-cpu-64=x86-64 --with-gmp-lib=/usr/local/lib/ --with-mpfr-lib=/usr/local/lib/ --with-mpc-lib=/usr/local/lib/

But when I try to make, it terminates with this error:

…
checking size of long... 0
checking for long long... yes
checking size of long long... configure: error: in `/Users/bhoglund/tmp/gcc46/gcc':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details.
make[2]: *** [configure-stage1-gcc] Error 77
make[2]: Leaving directory `/Users/bhoglund/tmp/gcc46'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/Users/bhoglund/tmp/gcc46'
make: *** [all] Error 2


Thanks for any help.


Bruce

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-06 21:22 long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion Bruce Hoglund
@ 2011-09-06 21:52 ` Jonathan Wakely
  2011-09-07  1:48   ` Bruce Hoglund
  0 siblings, 1 reply; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-06 21:52 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: gcc-help

On 6 September 2011 22:22, Bruce Hoglund wrote:
>
> See `config.log' for more details.

Try this.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-06 21:52 ` Jonathan Wakely
@ 2011-09-07  1:48   ` Bruce Hoglund
  2011-09-07  5:06     ` Ian Lance Taylor
  2011-09-07  8:30     ` Jonathan Wakely
  0 siblings, 2 replies; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-07  1:48 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-help

On Sep 6, 2011, at 5:52 PM, Jonathan Wakely wrote:

> On 6 September 2011 22:22, Bruce Hoglund wrote:
>> 
>> See `config.log' for more details.
> 
> Try this.


Alright Professor Dumbledore, I mean Professor Wakely, your subtle pointing out which magical things I'm to notice is lost on me. I'm a bit dense on the config.log as I haven't a clue as to what a normal one looks like!

However, looking at the top, I noticed autoconfig 2.64 being used, while my 'which autoconf' says I'm using version 2.68 in /opt/local/bin/autoconf, and there is a version 2.61 in /usr/bin/autoconf. So where is the autoconf 2.64 from the config.og coming from?

I can send the whole config.log if that will help, but here's the bottom-most bits of it:

## ------------------- ##
## File substitutions. ##
## ------------------- ##

alphaieee_frag='/dev/null'
host_makefile_frag='/Users/bhoglund/tmp/gcc-4.6.1/config/mh-darwin'
ospace_frag='/dev/null'
serialization_dependencies='serdep.tmp'
target_makefile_frag='/dev/null'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define LT_OBJDIR ".libs/"

configure: exit 0







^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07  1:48   ` Bruce Hoglund
@ 2011-09-07  5:06     ` Ian Lance Taylor
  2011-09-07  8:28       ` Jonathan Wakely
  2011-09-07 13:49       ` Bruce Hoglund
  2011-09-07  8:30     ` Jonathan Wakely
  1 sibling, 2 replies; 20+ messages in thread
From: Ian Lance Taylor @ 2011-09-07  5:06 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: Jonathan Wakely, gcc-help

Bruce Hoglund <bhoglund@mac.com> writes:

> However, looking at the top, I noticed autoconfig 2.64 being used, while my 'which autoconf' says I'm using version 2.68 in /opt/local/bin/autoconf, and there is a version 2.61 in /usr/bin/autoconf. So where is the autoconf 2.64 from the config.og coming from?

autoconf is run by a gcc developer.  It is not run when compiling gcc.
This is not an issue.

> I can send the whole config.log if that will help, but here's the bottom-most bits of it:

This is probably the wrong config.log file.  You need the one in the
directory in which configure is being run.  In this case,
gcc/config.log.

In general, the bottommost parts of config.log are not helpful.  You
need to look for the failing test.

Ian

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07  5:06     ` Ian Lance Taylor
@ 2011-09-07  8:28       ` Jonathan Wakely
  2011-09-07 13:53         ` Bruce Hoglund
  2011-09-07 13:49       ` Bruce Hoglund
  1 sibling, 1 reply; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-07  8:28 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: gcc-help

On 7 September 2011 06:06, Ian Lance Taylor wrote:
> This is probably the wrong config.log file.  You need the one in the
> directory in which configure is being run.  In this case,
> gcc/config.log.
>
> In general, the bottommost parts of config.log are not helpful.  You
> need to look for the failing test.

Which to remind you, was:
configure: error: cannot compute sizeof (long long)

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07  1:48   ` Bruce Hoglund
  2011-09-07  5:06     ` Ian Lance Taylor
@ 2011-09-07  8:30     ` Jonathan Wakely
       [not found]       ` <37D86901-9803-45C7-B143-CC9A7D3E8814@mac.com>
  1 sibling, 1 reply; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-07  8:30 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: gcc-help

On 7 September 2011 02:48, Bruce Hoglund wrote:
> On Sep 6, 2011, at 5:52 PM, Jonathan Wakely wrote:
>
>> On 6 September 2011 22:22, Bruce Hoglund wrote:
>>>
>>> See `config.log' for more details.
>>
>> Try this.
>
>
> Alright Professor Dumbledore, I mean Professor Wakely, your subtle pointing out which magical things I'm to notice is lost on me. I'm a bit dense on the config.log as I haven't a clue as to what a normal one looks like!

Is it magic to know that an error message saying "Cannot do blahblah.
See X for more details" indicates you should see X for more details of
what went wrong?

And searching for "Cannot do blahblah" would probably get you to the
right location in the file.  I didn't say "read and understand the
whole of config.log"

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07  5:06     ` Ian Lance Taylor
  2011-09-07  8:28       ` Jonathan Wakely
@ 2011-09-07 13:49       ` Bruce Hoglund
  2011-09-07 14:07         ` Jonathan Wakely
  2011-09-07 15:48         ` Ian Lance Taylor
  1 sibling, 2 replies; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-07 13:49 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Jonathan Wakely, gcc-help


On Sep 7, 2011, at 1:06 AM, Ian Lance Taylor wrote:

> Bruce Hoglund <bhoglund@mac.com> writes:
> 
>> However, looking at the top, I noticed autoconfig 2.64 being used, while my 'which autoconf' says I'm using version 2.68 in /opt/local/bin/autoconf, and there is a version 2.61 in /usr/bin/autoconf. So where is the autoconf 2.64 from the config.og coming from?
> 
> autoconf is run by a gcc developer.  It is not run when compiling gcc.
> This is not an issue.

Ok, it just seemed the mismatch between the autoconfi I have & it used was odd, but again, I claim no expertise here. Here is the topmost part, which includes my configure directive:

"
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ /Users/bhoglund/tmp/gcc-4.6.1/configure --enable-languages=c,fortran,java,objc --enable-threads --with-cpu-64=x86-64 --with-gmp-lib=/usr/local/lib/ --with-mpfr-lib=/usr/local/lib/ --with-mpc-lib=/usr/local/lib/
"


> 
>> I can send the whole config.log if that will help, but here's the bottom-most bits of it:
> 
> This is probably the wrong config.log file.  You need the one in the
> directory in which configure is being run.  In this case,
> gcc/config.log.

The config.log I am referencing is in the same directory (see above) that in invocked my configure directive.

> 
> In general, the bottommost parts of config.log are not helpful.  You
> need to look for the failing test.

Searching the config.log on the word "fail" I found this middle bit:


"
configure:5545: gcc -o conftest -g -O2    conftest.c  -L/usr/local/lib/ -L/usr/local/lib/ -L/usr/local/lib/ -lmpc -lmpfr -lgmp >&5
configure:5545: $? = 0
configure:5546: result: yes
configure:5730: checking for PWL_handle_timeout in -lpwl
configure:5755: gcc -o conftest -g -O2    conftest.c -lpwl   >&5
ld: library not found for -lpwl
collect2: ld returned 1 exit status
configure:5755: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char PWL_handle_timeout ();
| int
| main ()
| {
| return PWL_handle_timeout ();
|   ;
|   return 0;
| }
configure:5764: result: no
configure:5778: checking for version 0.11 (revision 0 or later) of PPL
configure:5795: gcc -c -g -O2    conftest.c >&5
conftest.c:10:19: fatal error: ppl_c.h: No such file or directory
compilation terminated.
configure:5795: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include "ppl_c.h"
| int
| main ()
| {
| 
|     #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
|     choke me
|     #endif
| 
|   ;
|   return 0;
| }
configure:5799: result: no

"

I hope this helps, and thank you for your help.


Bruce



^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07  8:28       ` Jonathan Wakely
@ 2011-09-07 13:53         ` Bruce Hoglund
  2011-09-07 14:02           ` Jonathan Wakely
  0 siblings, 1 reply; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-07 13:53 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-help


On Sep 7, 2011, at 4:27 AM, Jonathan Wakely wrote:

> On 7 September 2011 06:06, Ian Lance Taylor wrote:
>> This is probably the wrong config.log file.  You need the one in the
>> directory in which configure is being run.  In this case,
>> gcc/config.log.
>> 
>> In general, the bottommost parts of config.log are not helpful.  You
>> need to look for the failing test.
> 
> Which to remind you, was:
> configure: error: cannot compute sizeof (long long)


Yes, thank you.

I simplistically searched for the string "long" & it was not found in the config.log. As a guess, I'd say the failure to compute the size of the long long was a collateral damage effect from some other failure, such as the one I sent Ian:

"
configure:5545: gcc -o conftest -g -O2    conftest.c  -L/usr/local/lib/ -L/usr/local/lib/ -L/usr/local/lib/ -lmpc -lmpfr -lgmp >&5
configure:5545: $? = 0
configure:5546: result: yes
configure:5730: checking for PWL_handle_timeout in -lpwl
configure:5755: gcc -o conftest -g -O2    conftest.c -lpwl   >&5
ld: library not found for -lpwl
collect2: ld returned 1 exit status
configure:5755: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char PWL_handle_timeout ();
| int
| main ()
| {
| return PWL_handle_timeout ();
|   ;
|   return 0;
| }
configure:5764: result: no
configure:5778: checking for version 0.11 (revision 0 or later) of PPL
configure:5795: gcc -c -g -O2    conftest.c >&5
conftest.c:10:19: fatal error: ppl_c.h: No such file or directory
compilation terminated.
configure:5795: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include "ppl_c.h"
| int
| main ()
| {
| 
|     #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
|     choke me
|     #endif
| 
|   ;
|   return 0;
| }
configure:5799: result: no

"

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 13:53         ` Bruce Hoglund
@ 2011-09-07 14:02           ` Jonathan Wakely
  2011-09-07 15:26             ` Bruce Hoglund
  0 siblings, 1 reply; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-07 14:02 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: gcc-help

On 7 September 2011 14:52, Bruce Hoglund wrote:
>
> On Sep 7, 2011, at 4:27 AM, Jonathan Wakely wrote:
>
>> On 7 September 2011 06:06, Ian Lance Taylor wrote:
>>> This is probably the wrong config.log file.  You need the one in the
>>> directory in which configure is being run.  In this case,
>>> gcc/config.log.
>>>
>>> In general, the bottommost parts of config.log are not helpful.  You
>>> need to look for the failing test.
>>
>> Which to remind you, was:
>> configure: error: cannot compute sizeof (long long)
>
>
> Yes, thank you.
>
> I simplistically searched for the string "long" & it was not found in the config.log. As a guess, I'd say the failure to compute the size of the long long was a collateral damage effect from some other failure, such as the one I sent Ian:

No, you looked in the wrong config.log

As Ian said, you need to look for config.log in the directory where
configure is being run, that is NOT necessarily the directory where
YOU ran configure.  When you run the top-level configure it
recursively runs configure scripts in sub-directories.  One of those
failed.

In your case it says there is an error in /Users/bhoglund/tmp/gcc46/gcc:

checking size of long long... configure: error: in
`/Users/bhoglund/tmp/gcc46/gcc':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details.

So that's the directory where you need to look in config.log, which as
Ian said is gcc/config.log

Look in there, you will find the "cannot compute sizeof (long long)"
error, with more details.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 13:49       ` Bruce Hoglund
@ 2011-09-07 14:07         ` Jonathan Wakely
  2011-09-07 15:35           ` Bruce Hoglund
  2011-09-07 15:48         ` Ian Lance Taylor
  1 sibling, 1 reply; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-07 14:07 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: Ian Lance Taylor, gcc-help

On 7 September 2011 14:48, Bruce Hoglund wrote:
>
> On Sep 7, 2011, at 1:06 AM, Ian Lance Taylor wrote:
>>
>> In general, the bottommost parts of config.log are not helpful.  You
>> need to look for the failing test.
>
> Searching the config.log on the word "fail" I found this middle bit:

Searching for "fail" in config.log is a total waste of time.
Individual tests run by configure are *supposed* to fail, that's how
it works. It tries lots of different tests and records the results, so
it knows what works on your system and what doesn't.  It is by design
that many of them fail to compile or execute, configure just keeps
going trying other tests unless it hits some fatal error.

You need to find the failing test which *isn't* supposed to fail, the
"cannot compute sizeof (long long)" one, which is in gcc/config.log -
you should ignore all the other failures in that file, just find the
one which caused the fatal error that caused your build to fail.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 14:02           ` Jonathan Wakely
@ 2011-09-07 15:26             ` Bruce Hoglund
  2011-09-07 15:42               ` Jonathan Wakely
  0 siblings, 1 reply; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-07 15:26 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: gcc-help

[-- Attachment #1: Type: text/plain, Size: 3669 bytes --]


On Sep 7, 2011, at 10:02 AM, Jonathan Wakely wrote:

> On 7 September 2011 14:52, Bruce Hoglund wrote:
>> 
>> On Sep 7, 2011, at 4:27 AM, Jonathan Wakely wrote:
>> 
>>> On 7 September 2011 06:06, Ian Lance Taylor wrote:
>>>> This is probably the wrong config.log file.  You need the one in the
>>>> directory in which configure is being run.  In this case,
>>>> gcc/config.log.
>>>> 
>>>> In general, the bottommost parts of config.log are not helpful.  You
>>>> need to look for the failing test.
>>> 
>>> Which to remind you, was:
>>> configure: error: cannot compute sizeof (long long)
>> 
>> 
>> Yes, thank you.
>> 
>> I simplistically searched for the string "long" & it was not found in the config.log. As a guess, I'd say the failure to compute the size of the long long was a collateral damage effect from some other failure, such as the one I sent Ian:
> 
> No, you looked in the wrong config.log
> 
> As Ian said, you need to look for config.log in the directory where
> configure is being run, that is NOT necessarily the directory where
> YOU ran configure.  When you run the top-level configure it
> recursively runs configure scripts in sub-directories.  One of those
> failed.
> 
> In your case it says there is an error in /Users/bhoglund/tmp/gcc46/gcc:
> 
> checking size of long long... configure: error: in
> `/Users/bhoglund/tmp/gcc46/gcc':
> configure: error: cannot compute sizeof (long long)
> See `config.log' for more details.
> 
> So that's the directory where you need to look in config.log, which as
> Ian said is gcc/config.log
> 
> Look in there, you will find the "cannot compute sizeof (long long)"
> error, with more details.


I have attached the ~/tmp/gcc46/gcc/config.log file. As for understanding…

"
 static long int longval () { return (long int) (sizeof (short)); }
| static unsigned long int ulongval () { return (long int) (sizeof (short)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (short))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
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.

While there are other 'failed' "confdefs.h" program examples in this config.log, even an amateur like me was unsurprised by:
	"conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory"

I mean, who would have thought ac_nonexistent.h would have no file or directory?  

(That's another of my poor attempts at a joke), and I do appreciate your help and patience!


Bruce



[-- Attachment #2: config.log --]
[-- Type: application/octet-stream, Size: 38246 bytes --]

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ /Users/bhoglund/tmp/gcc-4.6.1/gcc/configure --cache-file=./config.cache --enable-threads --with-cpu-64=x86-64 --with-gmp-lib=/usr/local/lib/ --with-mpfr-lib=/usr/local/lib/ --with-mpc-lib=/usr/local/lib/ --enable-languages=c,c++,fortran,java,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-apple-darwin11.1.0 --host=x86_64-apple-darwin11.1.0 --target=x86_64-apple-darwin11.1.0 --srcdir=/Users/bhoglund/tmp/gcc-4.6.1/gcc --disable-intermodule --enable-checking=yes,types --disable-coverage --enable-languages=c

## --------- ##
## Platform. ##
## --------- ##

hostname = brucesimac.home
uname -m = x86_64
uname -r = 11.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
	 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 8.00 gigabytes
Default processor set: 131 tasks, 470 threads, 2 processors
Load average: 2.28, Mach factor: 0.71
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Users/bhoglund/LANL/MCNP5/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2925: creating cache ./config.cache
configure:3035: checking build system type
configure:3049: result: x86_64-apple-darwin11.1.0
configure:3069: checking host system type
configure:3082: result: x86_64-apple-darwin11.1.0
configure:3102: checking target system type
configure:3115: result: x86_64-apple-darwin11.1.0
configure:3213: checking LIBRARY_PATH variable
configure:3223: result: ok
configure:3239: checking GCC_EXEC_PREFIX variable
configure:3249: result: ok
configure:3326: checking whether to place generated files in the source directory
configure:3336: result: no
configure:3387: checking whether a default linker was specified
configure:3398: result: no
configure:3452: checking whether a default assembler was specified
configure:3463: result: no
configure:3489: checking for x86_64-apple-darwin11.1.0-gcc
configure:3516: result: gcc
configure:3785: checking for C compiler version
configure:3794: gcc --version >&5
gcc (GCC) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3805: $? = 0
configure:3794: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.5.3/lto-wrapper
Target: x86_64-apple-darwin11
Configured with: ../gcc-4.5.3/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable-multilib --enable-fully-dynamic-string
Thread model: posix
gcc version 4.5.3 (GCC) 
configure:3805: $? = 0
configure:3794: gcc -V >&5
gcc: '-V' option must have argument
configure:3805: $? = 1
configure:3794: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3805: $? = 1
configure:3825: checking for C compiler default output file name
configure:3847: gcc -g -fkeep-inline-functions    conftest.c  >&5
configure:3851: $? = 0
configure:3888: result: a.out
configure:3904: checking whether the C compiler works
configure:3913: ./a.out
configure:3917: $? = 0
configure:3932: result: yes
configure:3939: checking whether we are cross compiling
configure:3941: result: no
configure:3944: checking for suffix of executables
configure:3951: gcc -o conftest -g -fkeep-inline-functions    conftest.c  >&5
configure:3955: $? = 0
configure:3977: result: 
configure:3983: checking for suffix of object files
configure:4005: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:4009: $? = 0
configure:4030: result: o
configure:4034: checking whether we are using the GNU C compiler
configure:4053: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:4053: $? = 0
configure:4062: result: yes
configure:4071: checking whether gcc accepts -g
configure:4091: gcc -c -g  conftest.c >&5
configure:4091: $? = 0
configure:4132: result: yes
configure:4149: checking for gcc option to accept ISO C89
configure:4213: gcc  -c -g -fkeep-inline-functions  conftest.c >&5
configure:4213: $? = 0
configure:4226: result: none needed
configure:4247: checking whether gcc and cc understand -c and -o together
configure:4278: gcc -c conftest.c -o conftest2.o >&5
configure:4282: $? = 0
configure:4288: gcc -c conftest.c -o conftest2.o >&5
configure:4292: $? = 0
configure:4303: cc -c conftest.c >&5
configure:4307: $? = 0
configure:4315: cc -c conftest.c -o conftest2.o >&5
configure:4319: $? = 0
configure:4325: cc -c conftest.c -o conftest2.o >&5
configure:4329: $? = 0
configure:4347: result: yes
configure:4487: checking for C++ compiler version
configure:4496: g++ --version >&5
g++ (GCC) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4507: $? = 0
configure:4496: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.5.3/lto-wrapper
Target: x86_64-apple-darwin11
Configured with: ../gcc-4.5.3/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable-multilib --enable-fully-dynamic-string
Thread model: posix
gcc version 4.5.3 (GCC) 
configure:4507: $? = 0
configure:4496: g++ -V >&5
g++: '-V' option must have argument
configure:4507: $? = 1
configure:4496: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4507: $? = 1
configure:4511: checking whether we are using the GNU C++ compiler
configure:4530: g++ -c -g -O2  conftest.cpp >&5
configure:4530: $? = 0
configure:4539: result: yes
configure:4548: checking whether g++ accepts -g
configure:4568: g++ -c -g  conftest.cpp >&5
configure:4568: $? = 0
configure:4609: result: yes
configure:4638: checking for x86_64-apple-darwin11.1.0-gnatbind
configure:4665: result: no
configure:4730: checking for x86_64-apple-darwin11.1.0-gnatmake
configure:4757: result: no
configure:4819: checking whether compiler driver understands Ada
configure:4842: result: no
configure:4879: checking how to run the C preprocessor
configure:4910: gcc -E  conftest.c
configure:4910: $? = 0
configure:4924: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4924: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4949: result: gcc -E
configure:4969: gcc -E  conftest.c
configure:4969: $? = 0
configure:4983: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4983: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5012: checking for grep that handles long lines and -e
configure:5070: result: /usr/bin/grep
configure:5075: checking for egrep
configure:5137: result: /usr/bin/grep -E
configure:5142: checking for ANSI C header files
configure:5162: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5162: $? = 0
configure:5235: gcc -o conftest -g -fkeep-inline-functions    conftest.c  >&5
configure:5235: $? = 0
configure:5235: ./conftest
configure:5235: $? = 0
configure:5246: result: yes
configure:5259: checking for sys/types.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for sys/stat.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for stdlib.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for string.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for memory.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for strings.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for inttypes.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for stdint.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for unistd.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5273: checking minix/config.h usability
configure:5273: gcc -c -g -fkeep-inline-functions  conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:5273: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:5273: result: no
configure:5273: checking minix/config.h presence
configure:5273: gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:5273: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:5273: result: no
configure:5273: checking for minix/config.h
configure:5273: result: no
configure:5294: checking whether it is safe to define __EXTENSIONS__
configure:5312: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5312: $? = 0
configure:5319: result: yes
configure:5338: checking how to run the C preprocessor
configure:5408: result: gcc -E
configure:5428: gcc -E  conftest.c
configure:5428: $? = 0
configure:5442: gcc -E  conftest.c
conftest.c:26:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5442: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5470: checking for inline
configure:5486: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5486: $? = 0
configure:5494: result: inline
configure:5520: checking for special C compiler options needed for large files
configure:5565: result: no
configure:5571: checking for _FILE_OFFSET_BITS value needed for large files
configure:5596: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5596: $? = 0
configure:5628: result: no
configure:5717: checking size of void *
configure:5722: 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 ccGucDTA.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5722: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (void *)); }
| static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (void *))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (void *))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (void *))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5737: result: 0
configure:5751: checking size of short
configure:5756: 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 ccH3S7V1.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5756: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (short)); }
| static unsigned long int ulongval () { return (long int) (sizeof (short)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (short))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
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 */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (int)); }
| static unsigned long int ulongval () { return (long int) (sizeof (int)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (int))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (int))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (int))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5805: result: 0
configure:5819: checking size of long
configure:5824: 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 ccGghcUA.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5824: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_INT 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (long)); }
| static unsigned long int ulongval () { return (long int) (sizeof (long)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (long))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (long))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (long))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5839: result: 0
configure:5849: checking for long long
configure:5849: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5849: $? = 0
configure:5849: gcc -c -g -fkeep-inline-functions  conftest.c >&5
conftest.c: In function 'main':
conftest.c:66:24: error: expected expression before ')' token
configure:5849: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_INT 0
| #define SIZEOF_LONG 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((long long)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:5849: result: yes
configure:5860: checking size of long long
configure:5865: 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 ccgKlH4s.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5865: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_INT 0
| #define SIZEOF_LONG 0
| #define HAVE_LONG_LONG 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (long long)); }
| static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (long long))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (long long))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (long long))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5869: error: in `/Users/bhoglund/tmp/gcc46/gcc':
configure:5873: error: cannot compute sizeof (long long)
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-apple-darwin11.1.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -fkeep-inline-functions'
ac_cv_env_CLOOGINC_set=set
ac_cv_env_CLOOGINC_value=
ac_cv_env_CLOOGLIBS_set=set
ac_cv_env_CLOOGLIBS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g -O2'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
ac_cv_env_GMPINC_set=set
ac_cv_env_GMPINC_value=
ac_cv_env_GMPLIBS_set=set
ac_cv_env_GMPLIBS_value='-L/usr/local/lib/ -L/usr/local/lib/ -L/usr/local/lib/ -lmpc -lmpfr -lgmp'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PPLINC_set=set
ac_cv_env_PPLINC_value=
ac_cv_env_PPLLIBS_set=set
ac_cv_env_PPLLIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-apple-darwin11.1.0
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-apple-darwin11.1.0
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-apple-darwin11.1.0
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-apple-darwin11.1.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_GNATBIND=no
ac_cv_prog_GNATMAKE=no
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_cxx_g=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_sizeof_int=0
ac_cv_sizeof_long=0
ac_cv_sizeof_short=0
ac_cv_sizeof_void_p=0
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_target=x86_64-apple-darwin11.1.0
ac_cv_type_long_long=yes
acx_cv_cc_gcc_supports_ada=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALL=''
AR='ar'
AWK='awk'
BISON='bison'
BUILD_CFLAGS=''
BUILD_INFO=''
BUILD_LDFLAGS=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CC_FOR_BUILD='gcc'
CFLAGS='-g -fkeep-inline-functions'
CLOOGINC=''
CLOOGLIBS=''
COLLECT2_LIBS=''
CONFIGURE_SPECS=''
CPP='gcc -E'
CPPFLAGS=''
CROSS=''
CROSS_SYSTEM_HEADER_DIR=''
CXX='g++'
CXXCPP=''
CXXFLAGS='-g -O2'
DATADIRNAME=''
DEFS=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_BUILD_WITH_CXX=''
EXEEXT=''
FGREP=''
FLEX='flex'
GENCAT=''
GENERATED_MANPAGES=''
GENINSRC='#'
GGC=''
GMPINC=''
GMPLIBS='-L/usr/local/lib/ -L/usr/local/lib/ -L/usr/local/lib/ -lmpc -lmpfr -lgmp'
GMSGFMT=''
GNATBIND='no'
GNATMAKE='no'
GNAT_LIBEXC=''
GREP='/usr/bin/grep'
HOST_LIBS=''
INCINTL=''
INSTALL='/usr/bin/install -c'
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTOBJEXT=''
LD='ld'
LDEXP_LIB=''
LDFLAGS=' '
LIBICONV=''
LIBICONV_DEP=''
LIBINTL=''
LIBINTL_DEP=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAINT=''
MAKEINFO='makeinfo --split-size=5000000 --split-size=5000000'
NM='nm'
NMEDIT=''
NO_MINUS_C_MINUS_O=''
OBJDUMP='objdump'
OBJEXT='o'
ORIGINAL_AS_FOR_TARGET=''
ORIGINAL_LD_FOR_TARGET=''
ORIGINAL_NM_FOR_TARGET=''
ORIGINAL_PLUGIN_LD_FOR_TARGET=''
OTOOL64=''
OTOOL=''
OUTPUT_OPTION='-o $@'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGVERSION=''
POSUB=''
PPLINC=''
PPLLIBS=''
RANLIB='ranlib'
REPORT_BUGS_TEXI=''
REPORT_BUGS_TO=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STMP_FIXINC=''
STRIP=''
SYSTEM_HEADER_DIR=''
TARGET_SYSTEM_ROOT=''
TARGET_SYSTEM_ROOT_DEFINE=''
TM_ENDIAN_CONFIG=''
TM_MULTILIB_CONFIG=''
TM_MULTILIB_EXCEPTIONS_CONFIG=''
TREEBROWSER=''
USE_NLS=''
XGETTEXT=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
all_compilers=''
all_gtfiles=''
all_lang_makefrags=''
all_languages=''
all_selected_languages=''
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin11.1.0'
build_alias='x86_64-apple-darwin11.1.0'
build_cpu='x86_64'
build_exeext=''
build_file_translate=''
build_install_headers_dir=''
build_libsubdir='build-x86_64-apple-darwin11.1.0'
build_os='darwin11.1.0'
build_subdir='build-x86_64-apple-darwin11.1.0'
build_vendor='apple'
build_xm_defines=''
build_xm_file_list=''
build_xm_include_list=''
c_loose_warn=''
c_strict_warn=''
c_target_objs=''
check_languages=''
collect2=''
coverage_flags=''
cpp_install_dir=''
cxx_target_objs=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dollar=''
dvidir='${docdir}'
enable_decimal_float=''
enable_fast_install=''
enable_fixed_point=''
enable_lto=''
enable_multilib=''
enable_plugin=''
enable_shared=''
exec_prefix='NONE'
extra_gcc_objs=''
extra_headers_list=''
extra_modes_file=''
extra_objs=''
extra_opt_files=''
extra_parts=''
extra_passes=''
extra_programs=''
float_h_file=''
fortran_target_objs=''
gcc_config_arguments=''
gcc_cv_as=''
gcc_cv_ld=''
gcc_cv_nm=''
gcc_cv_objdump=''
gcc_cv_readelf=''
gcc_gxx_include_dir='$(libsubdir)/$(libsubdir_to_prefix)include/c++/$(version)'
gcc_tooldir=''
gthread_flags=''
have_mktemp_command=''
host='x86_64-apple-darwin11.1.0'
host_alias='x86_64-apple-darwin11.1.0'
host_cpu='x86_64'
host_exeext=''
host_os='darwin11.1.0'
host_subdir='.'
host_vendor='apple'
host_xm_defines=''
host_xm_file_list=''
host_xm_include_list=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
inhibit_libc=''
install=''
lang_opt_files=''
lang_specs_files=''
lang_tree_files=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_visibility=''
local_prefix='/usr/local'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
loose_warn=''
make_compare_target=''
mandir='${datarootdir}/man'
manext=''
md_file=''
nocommon_flag=''
objc_boehm_gc=''
objdir=''
objext=''
oldincludedir='/usr/include'
out_file=''
out_host_hook_obj=''
out_object_file=''
pdfdir='${docdir}'
pluginlibs=''
prefix='NONE'
program_transform_name='s,y,y,'
psdir='${docdir}'
ranlib_flags=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
slibdir=''
srcdir='/Users/bhoglund/tmp/gcc-4.6.1/gcc'
strict_warn=''
subdirs=''
sysconfdir='${prefix}/etc'
target='x86_64-apple-darwin11.1.0'
target_alias='x86_64-apple-darwin11.1.0'
target_cpu='x86_64'
target_cpu_default=''
target_noncanonical='x86_64-apple-darwin11.1.0'
target_os='darwin11.1.0'
target_subdir='x86_64-apple-darwin11.1.0'
target_vendor='apple'
thread_file=''
tm_defines=''
tm_file_list=''
tm_include_list=''
tm_p_file_list=''
tm_p_include_list=''
tmake_file=''
use_gcc_stdint=''
user_headers_inc_next_post=''
user_headers_inc_next_pre=''
valgrind_command=''
valgrind_path=''
valgrind_path_defines=''
warn_cflags=''
warn_cxxflags=''
xm_defines=''
xm_file_list=''
xm_include_list=''
xmake_file=''
zlibdir=''
zlibinc=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

language_hooks=''
option_includes=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define HAVE_GNU_LD 0
#define HAVE_GNU_AS 0
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define SIZEOF_VOID_P 0
#define SIZEOF_SHORT 0
#define SIZEOF_INT 0
#define SIZEOF_LONG 0
#define HAVE_LONG_LONG 1

configure: exit 77

[-- Attachment #3: Type: text/plain, Size: 6 bytes --]








^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 14:07         ` Jonathan Wakely
@ 2011-09-07 15:35           ` Bruce Hoglund
  2011-09-07 16:32             ` Ian Lance Taylor
  0 siblings, 1 reply; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-07 15:35 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: Ian Lance Taylor, gcc-help


On Sep 7, 2011, at 10:07 AM, Jonathan Wakely wrote:

> On 7 September 2011 14:48, Bruce Hoglund wrote:
>> 
>> On Sep 7, 2011, at 1:06 AM, Ian Lance Taylor wrote:
>>> 
>>> In general, the bottommost parts of config.log are not helpful.  You
>>> need to look for the failing test.
>> 
>> Searching the config.log on the word "fail" I found this middle bit:
> 
> Searching for "fail" in config.log is a total waste of time.
> Individual tests run by configure are *supposed* to fail, that's how
> it works. It tries lots of different tests and records the results, so
> it knows what works on your system and what doesn't.  It is by design
> that many of them fail to compile or execute, configure just keeps
> going trying other tests unless it hits some fatal error.
> 
> You need to find the failing test which *isn't* supposed to fail, the
> "cannot compute sizeof (long long)" one, which is in gcc/config.log -
> you should ignore all the other failures in that file, just find the
> one which caused the fatal error that caused your build to fail.

I have pasted the ~/tmp/gcc46/gcc/config.log file at the bottom. As for understanding…

"
static long int longval () { return (long int) (sizeof (short)); }
| static unsigned long int ulongval () { return (long int) (sizeof (short)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (short))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
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 what the x86_64 architecture should have or not have, but I may be quite wrong.

While there are other 'failed' "confdefs.h" program examples in this config.log, even an amateur like me was unsurprised by:
	"conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory"

I mean, who would have thought ac_nonexistent.h would have no file or directory?  

(That's another of my poor attempts at a joke), and I do appreciate your help and patience!


Bruce


******** Paste of contents of ~/tmp/gcc46/gcc/config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.64.  Invocation command line was

  $ /Users/bhoglund/tmp/gcc-4.6.1/gcc/configure --cache-file=./config.cache --enable-threads --with-cpu-64=x86-64 --with-gmp-lib=/usr/local/lib/ --with-mpfr-lib=/usr/local/lib/ --with-mpc-lib=/usr/local/lib/ --enable-languages=c,c++,fortran,java,objc --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-apple-darwin11.1.0 --host=x86_64-apple-darwin11.1.0 --target=x86_64-apple-darwin11.1.0 --srcdir=/Users/bhoglund/tmp/gcc-4.6.1/gcc --disable-intermodule --enable-checking=yes,types --disable-coverage --enable-languages=c

## --------- ##
## Platform. ##
## --------- ##

hostname = brucesimac.home
uname -m = x86_64
uname -r = 11.1.0
uname -s = Darwin
uname -v = Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
	 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 8.00 gigabytes
Default processor set: 131 tasks, 470 threads, 2 processors
Load average: 2.28, Mach factor: 0.71
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /Users/bhoglund/LANL/MCNP5/bin
PATH: /opt/local/bin
PATH: /opt/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/X11/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2925: creating cache ./config.cache
configure:3035: checking build system type
configure:3049: result: x86_64-apple-darwin11.1.0
configure:3069: checking host system type
configure:3082: result: x86_64-apple-darwin11.1.0
configure:3102: checking target system type
configure:3115: result: x86_64-apple-darwin11.1.0
configure:3213: checking LIBRARY_PATH variable
configure:3223: result: ok
configure:3239: checking GCC_EXEC_PREFIX variable
configure:3249: result: ok
configure:3326: checking whether to place generated files in the source directory
configure:3336: result: no
configure:3387: checking whether a default linker was specified
configure:3398: result: no
configure:3452: checking whether a default assembler was specified
configure:3463: result: no
configure:3489: checking for x86_64-apple-darwin11.1.0-gcc
configure:3516: result: gcc
configure:3785: checking for C compiler version
configure:3794: gcc --version >&5
gcc (GCC) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3805: $? = 0
configure:3794: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.5.3/lto-wrapper
Target: x86_64-apple-darwin11
Configured with: ../gcc-4.5.3/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable-multilib --enable-fully-dynamic-string
Thread model: posix
gcc version 4.5.3 (GCC) 
configure:3805: $? = 0
configure:3794: gcc -V >&5
gcc: '-V' option must have argument
configure:3805: $? = 1
configure:3794: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3805: $? = 1
configure:3825: checking for C compiler default output file name
configure:3847: gcc -g -fkeep-inline-functions    conftest.c  >&5
configure:3851: $? = 0
configure:3888: result: a.out
configure:3904: checking whether the C compiler works
configure:3913: ./a.out
configure:3917: $? = 0
configure:3932: result: yes
configure:3939: checking whether we are cross compiling
configure:3941: result: no
configure:3944: checking for suffix of executables
configure:3951: gcc -o conftest -g -fkeep-inline-functions    conftest.c  >&5
configure:3955: $? = 0
configure:3977: result: 
configure:3983: checking for suffix of object files
configure:4005: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:4009: $? = 0
configure:4030: result: o
configure:4034: checking whether we are using the GNU C compiler
configure:4053: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:4053: $? = 0
configure:4062: result: yes
configure:4071: checking whether gcc accepts -g
configure:4091: gcc -c -g  conftest.c >&5
configure:4091: $? = 0
configure:4132: result: yes
configure:4149: checking for gcc option to accept ISO C89
configure:4213: gcc  -c -g -fkeep-inline-functions  conftest.c >&5
configure:4213: $? = 0
configure:4226: result: none needed
configure:4247: checking whether gcc and cc understand -c and -o together
configure:4278: gcc -c conftest.c -o conftest2.o >&5
configure:4282: $? = 0
configure:4288: gcc -c conftest.c -o conftest2.o >&5
configure:4292: $? = 0
configure:4303: cc -c conftest.c >&5
configure:4307: $? = 0
configure:4315: cc -c conftest.c -o conftest2.o >&5
configure:4319: $? = 0
configure:4325: cc -c conftest.c -o conftest2.o >&5
configure:4329: $? = 0
configure:4347: result: yes
configure:4487: checking for C++ compiler version
configure:4496: g++ --version >&5
g++ (GCC) 4.5.3
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4507: $? = 0
configure:4496: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/x86_64-apple-darwin11/4.5.3/lto-wrapper
Target: x86_64-apple-darwin11
Configured with: ../gcc-4.5.3/configure --prefix=/opt/local --build=x86_64-apple-darwin11 --enable-languages=c,c++,objc,obj-c++,fortran,java --libdir=/opt/local/lib/gcc45 --includedir=/opt/local/include/gcc45 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-4.5 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-4.5 --with-gxx-include-dir=/opt/local/include/gcc45/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --enable-stage1-checking --disable-multilib --enable-fully-dynamic-string
Thread model: posix
gcc version 4.5.3 (GCC) 
configure:4507: $? = 0
configure:4496: g++ -V >&5
g++: '-V' option must have argument
configure:4507: $? = 1
configure:4496: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:4507: $? = 1
configure:4511: checking whether we are using the GNU C++ compiler
configure:4530: g++ -c -g -O2  conftest.cpp >&5
configure:4530: $? = 0
configure:4539: result: yes
configure:4548: checking whether g++ accepts -g
configure:4568: g++ -c -g  conftest.cpp >&5
configure:4568: $? = 0
configure:4609: result: yes
configure:4638: checking for x86_64-apple-darwin11.1.0-gnatbind
configure:4665: result: no
configure:4730: checking for x86_64-apple-darwin11.1.0-gnatmake
configure:4757: result: no
configure:4819: checking whether compiler driver understands Ada
configure:4842: result: no
configure:4879: checking how to run the C preprocessor
configure:4910: gcc -E  conftest.c
configure:4910: $? = 0
configure:4924: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4924: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4949: result: gcc -E
configure:4969: gcc -E  conftest.c
configure:4969: $? = 0
configure:4983: gcc -E  conftest.c
conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:4983: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5012: checking for grep that handles long lines and -e
configure:5070: result: /usr/bin/grep
configure:5075: checking for egrep
configure:5137: result: /usr/bin/grep -E
configure:5142: checking for ANSI C header files
configure:5162: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5162: $? = 0
configure:5235: gcc -o conftest -g -fkeep-inline-functions    conftest.c  >&5
configure:5235: $? = 0
configure:5235: ./conftest
configure:5235: $? = 0
configure:5246: result: yes
configure:5259: checking for sys/types.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for sys/stat.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for stdlib.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for string.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for memory.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for strings.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for inttypes.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for stdint.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5259: checking for unistd.h
configure:5259: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5259: $? = 0
configure:5259: result: yes
configure:5273: checking minix/config.h usability
configure:5273: gcc -c -g -fkeep-inline-functions  conftest.c >&5
conftest.c:54:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:5273: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <minix/config.h>
configure:5273: result: no
configure:5273: checking minix/config.h presence
configure:5273: gcc -E  conftest.c
conftest.c:21:26: fatal error: minix/config.h: No such file or directory
compilation terminated.
configure:5273: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h.  */
| #include <minix/config.h>
configure:5273: result: no
configure:5273: checking for minix/config.h
configure:5273: result: no
configure:5294: checking whether it is safe to define __EXTENSIONS__
configure:5312: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5312: $? = 0
configure:5319: result: yes
configure:5338: checking how to run the C preprocessor
configure:5408: result: gcc -E
configure:5428: gcc -E  conftest.c
configure:5428: $? = 0
configure:5442: gcc -E  conftest.c
conftest.c:26:28: fatal error: ac_nonexistent.h: No such file or directory
compilation terminated.
configure:5442: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:5470: checking for inline
configure:5486: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5486: $? = 0
configure:5494: result: inline
configure:5520: checking for special C compiler options needed for large files
configure:5565: result: no
configure:5571: checking for _FILE_OFFSET_BITS value needed for large files
configure:5596: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5596: $? = 0
configure:5628: result: no
configure:5717: checking size of void *
configure:5722: 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 ccGucDTA.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5722: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (void *)); }
| static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (void *))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (void *))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (void *))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5737: result: 0
configure:5751: checking size of short
configure:5756: 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 ccH3S7V1.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5756: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (short)); }
| static unsigned long int ulongval () { return (long int) (sizeof (short)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (short))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (short))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
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 */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (int)); }
| static unsigned long int ulongval () { return (long int) (sizeof (int)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (int))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (int))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (int))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5805: result: 0
configure:5819: checking size of long
configure:5824: 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 ccGghcUA.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5824: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_INT 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (long)); }
| static unsigned long int ulongval () { return (long int) (sizeof (long)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (long))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (long))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (long))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5839: result: 0
configure:5849: checking for long long
configure:5849: gcc -c -g -fkeep-inline-functions  conftest.c >&5
configure:5849: $? = 0
configure:5849: gcc -c -g -fkeep-inline-functions  conftest.c >&5
conftest.c: In function 'main':
conftest.c:66:24: error: expected expression before ')' token
configure:5849: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_INT 0
| #define SIZEOF_LONG 0
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((long long)))
| 	    return 0;
|   ;
|   return 0;
| }
configure:5849: result: yes
configure:5860: checking size of long long
configure:5865: 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 ccgKlH4s.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:5865: $? = 1
configure: program exited with status 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_GNU_LD 0
| #define HAVE_GNU_AS 0
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define SIZEOF_VOID_P 0
| #define SIZEOF_SHORT 0
| #define SIZEOF_INT 0
| #define SIZEOF_LONG 0
| #define HAVE_LONG_LONG 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| static long int longval () { return (long int) (sizeof (long long)); }
| static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
| 
|   FILE *f = fopen ("conftest.val", "w");
|   if (! f)
|     return 1;
|   if (((long int) (sizeof (long long))) < 0)
|     {
|       long int i = longval ();
|       if (i != ((long int) (sizeof (long long))))
| 	return 1;
|       fprintf (f, "%ld", i);
|     }
|   else
|     {
|       unsigned long int i = ulongval ();
|       if (i != ((long int) (sizeof (long long))))
| 	return 1;
|       fprintf (f, "%lu", i);
|     }
|   /* Do not output a trailing newline, as this causes \r\n confusion
|      on some platforms.  */
|   return ferror (f) || fclose (f) != 0;
| 
|   ;
|   return 0;
| }
configure:5869: error: in `/Users/bhoglund/tmp/gcc46/gcc':
configure:5873: error: cannot compute sizeof (long long)
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-apple-darwin11.1.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -fkeep-inline-functions'
ac_cv_env_CLOOGINC_set=set
ac_cv_env_CLOOGINC_value=
ac_cv_env_CLOOGLIBS_set=set
ac_cv_env_CLOOGLIBS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g -O2'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
ac_cv_env_GMPINC_set=set
ac_cv_env_GMPINC_value=
ac_cv_env_GMPLIBS_set=set
ac_cv_env_GMPLIBS_value='-L/usr/local/lib/ -L/usr/local/lib/ -L/usr/local/lib/ -lmpc -lmpfr -lgmp'
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' '
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_PPLINC_set=set
ac_cv_env_PPLINC_value=
ac_cv_env_PPLLIBS_set=set
ac_cv_env_PPLLIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-apple-darwin11.1.0
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-apple-darwin11.1.0
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-apple-darwin11.1.0
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_minix_config_h=no
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-apple-darwin11.1.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_GNATBIND=no
ac_cv_prog_GNATMAKE=no
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_gcc_c_o=yes
ac_cv_prog_cxx_g=yes
ac_cv_safe_to_define___extensions__=yes
ac_cv_sizeof_int=0
ac_cv_sizeof_long=0
ac_cv_sizeof_short=0
ac_cv_sizeof_void_p=0
ac_cv_sys_file_offset_bits=no
ac_cv_sys_largefile_CC=no
ac_cv_target=x86_64-apple-darwin11.1.0
ac_cv_type_long_long=yes
acx_cv_cc_gcc_supports_ada=no

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALL=''
AR='ar'
AWK='awk'
BISON='bison'
BUILD_CFLAGS=''
BUILD_INFO=''
BUILD_LDFLAGS=''
CATALOGS=''
CATOBJEXT=''
CC='gcc'
CC_FOR_BUILD='gcc'
CFLAGS='-g -fkeep-inline-functions'
CLOOGINC=''
CLOOGLIBS=''
COLLECT2_LIBS=''
CONFIGURE_SPECS=''
CPP='gcc -E'
CPPFLAGS=''
CROSS=''
CROSS_SYSTEM_HEADER_DIR=''
CXX='g++'
CXXCPP=''
CXXFLAGS='-g -O2'
DATADIRNAME=''
DEFS=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
ENABLE_BUILD_WITH_CXX=''
EXEEXT=''
FGREP=''
FLEX='flex'
GENCAT=''
GENERATED_MANPAGES=''
GENINSRC='#'
GGC=''
GMPINC=''
GMPLIBS='-L/usr/local/lib/ -L/usr/local/lib/ -L/usr/local/lib/ -lmpc -lmpfr -lgmp'
GMSGFMT=''
GNATBIND='no'
GNATMAKE='no'
GNAT_LIBEXC=''
GREP='/usr/bin/grep'
HOST_LIBS=''
INCINTL=''
INSTALL='/usr/bin/install -c'
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTOBJEXT=''
LD='ld'
LDEXP_LIB=''
LDFLAGS=' '
LIBICONV=''
LIBICONV_DEP=''
LIBINTL=''
LIBINTL_DEP=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN=''
LN_S=''
LTLIBICONV=''
LTLIBOBJS=''
MAINT=''
MAKEINFO='makeinfo --split-size=5000000 --split-size=5000000'
NM='nm'
NMEDIT=''
NO_MINUS_C_MINUS_O=''
OBJDUMP='objdump'
OBJEXT='o'
ORIGINAL_AS_FOR_TARGET=''
ORIGINAL_LD_FOR_TARGET=''
ORIGINAL_NM_FOR_TARGET=''
ORIGINAL_PLUGIN_LD_FOR_TARGET=''
OTOOL64=''
OTOOL=''
OUTPUT_OPTION='-o $@'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGVERSION=''
POSUB=''
PPLINC=''
PPLLIBS=''
RANLIB='ranlib'
REPORT_BUGS_TEXI=''
REPORT_BUGS_TO=''
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STMP_FIXINC=''
STRIP=''
SYSTEM_HEADER_DIR=''
TARGET_SYSTEM_ROOT=''
TARGET_SYSTEM_ROOT_DEFINE=''
TM_ENDIAN_CONFIG=''
TM_MULTILIB_CONFIG=''
TM_MULTILIB_EXCEPTIONS_CONFIG=''
TREEBROWSER=''
USE_NLS=''
XGETTEXT=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DUMPBIN=''
all_compilers=''
all_gtfiles=''
all_lang_makefrags=''
all_languages=''
all_selected_languages=''
bindir='${exec_prefix}/bin'
build='x86_64-apple-darwin11.1.0'
build_alias='x86_64-apple-darwin11.1.0'
build_cpu='x86_64'
build_exeext=''
build_file_translate=''
build_install_headers_dir=''
build_libsubdir='build-x86_64-apple-darwin11.1.0'
build_os='darwin11.1.0'
build_subdir='build-x86_64-apple-darwin11.1.0'
build_vendor='apple'
build_xm_defines=''
build_xm_file_list=''
build_xm_include_list=''
c_loose_warn=''
c_strict_warn=''
c_target_objs=''
check_languages=''
collect2=''
coverage_flags=''
cpp_install_dir=''
cxx_target_objs=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dollar=''
dvidir='${docdir}'
enable_decimal_float=''
enable_fast_install=''
enable_fixed_point=''
enable_lto=''
enable_multilib=''
enable_plugin=''
enable_shared=''
exec_prefix='NONE'
extra_gcc_objs=''
extra_headers_list=''
extra_modes_file=''
extra_objs=''
extra_opt_files=''
extra_parts=''
extra_passes=''
extra_programs=''
float_h_file=''
fortran_target_objs=''
gcc_config_arguments=''
gcc_cv_as=''
gcc_cv_ld=''
gcc_cv_nm=''
gcc_cv_objdump=''
gcc_cv_readelf=''
gcc_gxx_include_dir='$(libsubdir)/$(libsubdir_to_prefix)include/c++/$(version)'
gcc_tooldir=''
gthread_flags=''
have_mktemp_command=''
host='x86_64-apple-darwin11.1.0'
host_alias='x86_64-apple-darwin11.1.0'
host_cpu='x86_64'
host_exeext=''
host_os='darwin11.1.0'
host_subdir='.'
host_vendor='apple'
host_xm_defines=''
host_xm_file_list=''
host_xm_include_list=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
inhibit_libc=''
install=''
lang_opt_files=''
lang_specs_files=''
lang_tree_files=''
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_visibility=''
local_prefix='/usr/local'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
loose_warn=''
make_compare_target=''
mandir='${datarootdir}/man'
manext=''
md_file=''
nocommon_flag=''
objc_boehm_gc=''
objdir=''
objext=''
oldincludedir='/usr/include'
out_file=''
out_host_hook_obj=''
out_object_file=''
pdfdir='${docdir}'
pluginlibs=''
prefix='NONE'
program_transform_name='s,y,y,'
psdir='${docdir}'
ranlib_flags=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
slibdir=''
srcdir='/Users/bhoglund/tmp/gcc-4.6.1/gcc'
strict_warn=''
subdirs=''
sysconfdir='${prefix}/etc'
target='x86_64-apple-darwin11.1.0'
target_alias='x86_64-apple-darwin11.1.0'
target_cpu='x86_64'
target_cpu_default=''
target_noncanonical='x86_64-apple-darwin11.1.0'
target_os='darwin11.1.0'
target_subdir='x86_64-apple-darwin11.1.0'
target_vendor='apple'
thread_file=''
tm_defines=''
tm_file_list=''
tm_include_list=''
tm_p_file_list=''
tm_p_include_list=''
tmake_file=''
use_gcc_stdint=''
user_headers_inc_next_post=''
user_headers_inc_next_pre=''
valgrind_command=''
valgrind_path=''
valgrind_path_defines=''
warn_cflags=''
warn_cxxflags=''
xm_defines=''
xm_file_list=''
xm_include_list=''
xmake_file=''
zlibdir=''
zlibinc=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

language_hooks=''
option_includes=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define HAVE_GNU_LD 0
#define HAVE_GNU_AS 0
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define __EXTENSIONS__ 1
#define _ALL_SOURCE 1
#define _GNU_SOURCE 1
#define _POSIX_PTHREAD_SEMANTICS 1
#define _TANDEM_SOURCE 1
#define SIZEOF_VOID_P 0
#define SIZEOF_SHORT 0
#define SIZEOF_INT 0
#define SIZEOF_LONG 0
#define HAVE_LONG_LONG 1

configure: exit 77


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 15:26             ` Bruce Hoglund
@ 2011-09-07 15:42               ` Jonathan Wakely
  2011-09-07 15:50                 ` Jonathan Wakely
  0 siblings, 1 reply; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-07 15:42 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: gcc-help

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.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
       [not found]       ` <37D86901-9803-45C7-B143-CC9A7D3E8814@mac.com>
@ 2011-09-07 15:45         ` Jonathan Wakely
  0 siblings, 0 replies; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-07 15:45 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: gcc-help

On 7 September 2011 15:42, Bruce Hoglund wrote:
>
> The autoconf version disparity at the top of my
> config.log only confirms my suspicions.
> "
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> It was created by configure, which was
> generated by GNU Autoconf 2.64.  Invocation command line was
> "
> My autoconf:
> "
> autoconf --version
> autoconf (GNU Autoconf) 2.68
> "

Again, this is not a problem.

It's telling you the 'configure' script was generated by someone (a
GCC developer) who used Autoconf 2.64.

Since you are not re-generating the configure script, just running it,
your Autoconf version is utterly irrelevant.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 13:49       ` Bruce Hoglund
  2011-09-07 14:07         ` Jonathan Wakely
@ 2011-09-07 15:48         ` Ian Lance Taylor
  1 sibling, 0 replies; 20+ messages in thread
From: Ian Lance Taylor @ 2011-09-07 15:48 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: Jonathan Wakely, gcc-help

Bruce Hoglund <bhoglund@mac.com> writes:

> On Sep 7, 2011, at 1:06 AM, Ian Lance Taylor wrote:
>
>> Bruce Hoglund <bhoglund@mac.com> writes:
>> 
>>> However, looking at the top, I noticed autoconfig 2.64 being used, while my 'which autoconf' says I'm using version 2.68 in /opt/local/bin/autoconf, and there is a version 2.61 in /usr/bin/autoconf. So where is the autoconf 2.64 from the config.og coming from?
>> 
>> autoconf is run by a gcc developer.  It is not run when compiling gcc.
>> This is not an issue.
>
> Ok, it just seemed the mismatch between the autoconfi I have & it used
> was odd, but again, I claim no expertise here.

Well, if you didn't understand what I wrote, then just trust me: this is
not an issue.


>>> I can send the whole config.log if that will help, but here's the bottom-most bits of it:
>> 
>> This is probably the wrong config.log file.  You need the one in the
>> directory in which configure is being run.  In this case,
>> gcc/config.log.
>
> The config.log I am referencing is in the same directory (see above) that in invocked my configure directive.

That's the wrong one.  As I said, you need to look at gcc/config.log.

Ian

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 15:42               ` Jonathan Wakely
@ 2011-09-07 15:50                 ` Jonathan Wakely
  0 siblings, 0 replies; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-07 15:50 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: gcc-help

On 7 September 2011 16:42, Jonathan Wakely wrote:
> 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.


Apologies, looking properly I see the same linker error in the
"checkin size of long long" test.

So now we're finally getting somewhere.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 15:35           ` Bruce Hoglund
@ 2011-09-07 16:32             ` Ian Lance Taylor
  2011-09-07 22:11               ` Bruce Hoglund
  0 siblings, 1 reply; 20+ messages in thread
From: Ian Lance Taylor @ 2011-09-07 16:32 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: Jonathan Wakely, gcc-help

Bruce Hoglund <bhoglund@mac.com> writes:

> 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

There is some sort of mismatch between the compiler being run as "gcc"
and your system header files.  Your system header files appear to assume
that the compiler defines ___builtin___stpncpy_chk.  Your compiler
appears to not define that function.

gcc as normally distributed does not define any sort of
___builtin___stpncpy_chk function.  However, evidently the OS X 10.7
header files expect it to.

What program are you running as "gcc"?  Is it possible that it is out of
date with respect to the header files?

For any other ideas, you are going to have to ask somebody familiar with
Darwin.

Ian

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 16:32             ` Ian Lance Taylor
@ 2011-09-07 22:11               ` Bruce Hoglund
  2011-09-09 16:18                 ` Jonathan Wakely
  0 siblings, 1 reply; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-07 22:11 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: Jonathan Wakely, gcc-help


On Sep 7, 2011, at 12:32 PM, Ian Lance Taylor wrote:

> Bruce Hoglund <bhoglund@mac.com> writes:
> 
>> 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
> 
> There is some sort of mismatch between the compiler being run as "gcc"
> and your system header files.  Your system header files appear to assume
> that the compiler defines ___builtin___stpncpy_chk.  Your compiler
> appears to not define that function.
> 
> gcc as normally distributed does not define any sort of
> ___builtin___stpncpy_chk function.  However, evidently the OS X 10.7
> header files expect it to.
> 
> What program are you running as "gcc"?  Is it possible that it is out of
> date with respect to the header files?
> 
> For any other ideas, you are going to have to ask somebody familiar with
> Darwin.
> 
> Ian

I installed gcc via MacPorts (port), which installs in /opt/local/bin. I created a Symbolic Link from gcc to:
/opt/local/bin/x86_64-apple-darwin11-gcc-mp-4.5

It reports this version:
gcc --version
gcc (GCC) 4.5.3

Where does it get the system's header files from? My real goal for all of this is to be able to complile a Fortran program (MCNPX) using either g95 or gfortran, which is also failing for what seem to me similar reasons:


"	Snipped of Terminal output prior to compiling failure:

ar: creating archive hexs.a
Build of hexs.a complete
f90 -l gfortran -lcrt1.10.5.o -L/usr/local/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1 -L/usr/local/lib/gcc/x86_64-apple-darwin11.0.0/4.6.1/../../.. -lgfortran -lSystem -lgcc_ext.10.5 -lquadmath -lm -lm  -o mcnpx f77main/f77main.o mcnpf.a mcnpf/GLOBAL1_zc.o mcnpf/GLOBAL2_vv.o mcnpf/GLOBAL3_st.o mcnpf/GLOBAL4_cg.o mcnpf/GLOBAL4_mb.o mcnpf/GLOBAL4_lk.o mcnpf/GLOBAL5_cm.o mcnpf/GLOBAL6_ht.o mcnpf/IMCN_jc.o mcnpf/GKSSIM_gs.o mcnpf/LAMBDA_lm.o mcnpf/LAMBDA_lt.o mcnpf/MCPLOT_mp.o mcnpf/PLOT_pc.o mcnpf/GLOBAL6_mc.o mcnpf/cemmod.o mcnpf/laqmod31.o mcnpc.a gvaviv.a lcs.a lcs/btbd.o lcs/cabd.o lcs/e0bd.o lcs/elbd.o lcs/h1bd.o lcs/hebd.o lcs/inbd.o lcs/isbd.o lcs/phbd.o lcs/pqbd.o dedx.a dedx/atmdat.o meshtal.a histp.a spabi.a spabi/bdincl1.o spabi/bdincl2.o fluka89.a fluka89/bdnopt.o fluka89/blkdt1.o fluka89/blkdt2.o fluka89/blkdt3.o fluka89/blkdt4.o fluka89/blkdt5.o fluka89/blkdt6.o fluka89/blkdt7.o fluka89/f2bd.o hexs.a hexs/nebd.o hexs/xsbd.o -L/usr/X11/lib -lX11  
Undefined symbols for architecture x86_64:
  "_iargc_", referenced from:
      _getexm_ in mcnpf.a(getexm.o)
  "operator delete(void*)", referenced from:
      _genspfissevt_ in mcnpc.a(LLNLFission.o)
      _genfissevt_ in mcnpc.a(LLNLFission.o)
      _genphotofissevt_ in mcnpc.a(LLNLFission.o)
  "operator new(unsigned long)", referenced from:
      _genspfissevt_ in mcnpc.a(LLNLFission.o)
      _genfissevt_ in mcnpc.a(LLNLFission.o)
      _genphotofissevt_ in mcnpc.a(LLNLFission.o)
  "std::allocator<char>::allocator()", referenced from:
      fissionEvent::SmpSpWatt(int)   in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpTerrell(double) in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpWatt(double, int) in mcnpc.a(LLNLFission.o)
      itoa(int const&) in mcnpc.a(LLNLFission.o)
      fissionEvent::getNSepEng(int)    in mcnpc.a(LLNLFission.o)
      fissionEvent::getNubarg(int, double, double, bool) in mcnpc.a(LLNLFission.o)
      fissionEvent::getTotEngNEnergyCons(double, int) in mcnpc.a(LLNLFission.o)
      ...
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)", referenced from:
      fissionEvent::SmpSpWatt(int)   in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpTerrell(double) in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpWatt(double, int) in mcnpc.a(LLNLFission.o)
      itoa(int const&) in mcnpc.a(LLNLFission.o)
      fissionEvent::getNSepEng(int)    in mcnpc.a(LLNLFission.o)
      fissionEvent::getNubarg(int, double, double, bool) in mcnpc.a(LLNLFission.o)
      fissionEvent::getTotEngNEnergyCons(double, int) in mcnpc.a(LLNLFission.o)
      ...
  "std::allocator<char>::~allocator()", referenced from:
      fissionEvent::SmpSpWatt(int)   in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpTerrell(double) in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpWatt(double, int) in mcnpc.a(LLNLFission.o)
      itoa(int const&) in mcnpc.a(LLNLFission.o)
      fissionEvent::getNSepEng(int)    in mcnpc.a(LLNLFission.o)
      fissionEvent::getNubarg(int, double, double, bool) in mcnpc.a(LLNLFission.o)
      fissionEvent::getTotEngNEnergyCons(double, int) in mcnpc.a(LLNLFission.o)
      ...
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      fissionEvent::SmpSpWatt(int)   in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpWatt(double, int) in mcnpc.a(LLNLFission.o)
      fissionEvent::getNSepEng(int)    in mcnpc.a(LLNLFission.o)
      fissionEvent::getNubarg(int, double, double, bool) in mcnpc.a(LLNLFission.o)
      fissionEvent::getTotEngNEnergyCons(double, int) in mcnpc.a(LLNLFission.o)
      fissionEvent::getTotEngNEnergyConsAllActinides(double, int) in mcnpc.a(LLNLFission.o)
      fissionEvent::getTotEngPEnergyCons(double, int) in mcnpc.a(LLNLFission.o)
      ...
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
      fissionEvent::SmpSpWatt(int)   in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpTerrell(double) in mcnpc.a(LLNLFission.o)
      fissionEvent::SmpWatt(double, int) in mcnpc.a(LLNLFission.o)
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
      fissionEvent::getNSepEng(int)    in mcnpc.a(LLNLFission.o)
      fissionEvent::getNubarg(int, double, double, bool) in mcnpc.a(LLNLFission.o)
      fissionEvent::getTotEngNEnergyCons(double, int) in mcnpc.a(LLNLFission.o)
      ...
  "operator new[](unsigned long)", referenced from:
      fissionEvent::allocateMem(int, int) in mcnpc.a(LLNLFission.o)
  "operator delete[](void*)", referenced from:
      fissionEvent::~fissionEvent() in mcnpc.a(LLNLFission.o)
      fissionEvent::~fissionEvent() in mcnpc.a(LLNLFission.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()", referenced from:
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in mcnpc.a(LLNLFission.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
  "std::cerr", referenced from:
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
  "std::basic_ostream<char, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)", referenced from:
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
  "std::basic_ostream<char, std::char_traits<char> >& std::operator<< <char, std::char_traits<char>, std::allocator<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
  "std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)", referenced from:
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
  "std::basic_ostream<char, std::char_traits<char> >::operator<<(std::basic_ostream<char, std::char_traits<char> >& (*)(std::basic_ostream<char, std::char_traits<char> >&))", referenced from:
      fissionEvent::fissionerr(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >) in mcnpc.a(LLNLFission.o)
  "std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)", referenced from:
      itoa(int const&) in mcnpc.a(LLNLFission.o)
  "std::basic_ostream<char, std::char_traits<char> >::operator<<(int)", referenced from:
      itoa(int const&) in mcnpc.a(LLNLFission.o)
  "std::basic_ios<char, std::char_traits<char> >::operator!() const", referenced from:
      itoa(int const&) in mcnpc.a(LLNLFission.o)
  "std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::str() const", referenced from:
      itoa(int const&) in mcnpc.a(LLNLFission.o)
  "std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_ostringstream()", referenced from:
      itoa(int const&) in mcnpc.a(LLNLFission.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::size() const", referenced from:
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in mcnpc.a(LLNLFission.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)", referenced from:
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in mcnpc.a(LLNLFission.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)", referenced from:
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in mcnpc.a(LLNLFission.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in mcnpc.a(LLNLFission.o)
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in mcnpc.a(LLNLFission.o)
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)", referenced from:
      std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) in mcnpc.a(LLNLFission.o)
  "std::ios_base::Init::Init()", referenced from:
      __static_initialization_and_destruction_0(int, int) in mcnpc.a(LLNLFission.o)
  "std::ios_base::Init::~Init()", referenced from:
      __static_initialization_and_destruction_0(int, int) in mcnpc.a(LLNLFission.o)
  "___gxx_personality_v0", referenced from:
      Dwarf Exception Unwind Info (__eh_frame) in mcnpc.a(LLNLFission.o)
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [mcnpx] Error 1

"

Bruce

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-07 22:11               ` Bruce Hoglund
@ 2011-09-09 16:18                 ` Jonathan Wakely
  2011-09-09 20:40                   ` Bruce Hoglund
  0 siblings, 1 reply; 20+ messages in thread
From: Jonathan Wakely @ 2011-09-09 16:18 UTC (permalink / raw)
  To: Bruce Hoglund; +Cc: Ian Lance Taylor, gcc-help

On 7 September 2011 23:11, Bruce Hoglund wrote:
>
> On Sep 7, 2011, at 12:32 PM, Ian Lance Taylor wrote:
>
>> Bruce Hoglund <bhoglund@mac.com> writes:
>>
>>> 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


This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50342

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
  2011-09-09 16:18                 ` Jonathan Wakely
@ 2011-09-09 20:40                   ` Bruce Hoglund
  0 siblings, 0 replies; 20+ messages in thread
From: Bruce Hoglund @ 2011-09-09 20:40 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: Ian Lance Taylor, gcc-help

Thanks!

Bruce

On Sep 9, 2011, at 12:18 PM, Jonathan Wakely wrote:

> On 7 September 2011 23:11, Bruce Hoglund wrote:
>> 
>> On Sep 7, 2011, at 12:32 PM, Ian Lance Taylor wrote:
>> 
>>> Bruce Hoglund <bhoglund@mac.com> writes:
>>> 
>>>> 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
> 
> 
> This is http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50342

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-09-09 20:40 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 21:22 long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion Bruce Hoglund
2011-09-06 21:52 ` Jonathan Wakely
2011-09-07  1:48   ` Bruce Hoglund
2011-09-07  5:06     ` Ian Lance Taylor
2011-09-07  8:28       ` Jonathan Wakely
2011-09-07 13:53         ` Bruce Hoglund
2011-09-07 14:02           ` Jonathan Wakely
2011-09-07 15:26             ` Bruce Hoglund
2011-09-07 15:42               ` Jonathan Wakely
2011-09-07 15:50                 ` Jonathan Wakely
2011-09-07 13:49       ` Bruce Hoglund
2011-09-07 14:07         ` Jonathan Wakely
2011-09-07 15:35           ` Bruce Hoglund
2011-09-07 16:32             ` Ian Lance Taylor
2011-09-07 22:11               ` Bruce Hoglund
2011-09-09 16:18                 ` Jonathan Wakely
2011-09-09 20:40                   ` Bruce Hoglund
2011-09-07 15:48         ` Ian Lance Taylor
2011-09-07  8:30     ` Jonathan Wakely
     [not found]       ` <37D86901-9803-45C7-B143-CC9A7D3E8814@mac.com>
2011-09-07 15:45         ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).