public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: Bruce Hoglund <bhoglund@mac.com>
Cc: Jonathan Wakely <jwakely.gcc@gmail.com>, gcc-help@gcc.gnu.org
Subject: Re: long long size compute failure during make of gcc-4.6.1 on OS X 10.7 Lion
Date: Wed, 07 Sep 2011 16:32:00 -0000	[thread overview]
Message-ID: <mcrd3fcs480.fsf@coign.corp.google.com> (raw)
In-Reply-To: <201D7C12-D208-4C72-8744-195673483E83@mac.com> (Bruce Hoglund's	message of "Wed, 7 Sep 2011 11:34:42 -0400")

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

  reply	other threads:[~2011-09-07 16:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-06 21:22 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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mcrd3fcs480.fsf@coign.corp.google.com \
    --to=iant@google.com \
    --cc=bhoglund@mac.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=jwakely.gcc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).