public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: Sebastian Huber <sebastian.huber@embedded-brains.de>
Cc: gcc-help@gcc.gnu.org
Subject: Re: LTO with static libraries
Date: Mon, 24 Oct 2011 17:06:00 -0000	[thread overview]
Message-ID: <mcr62jeiajx.fsf@dhcp-172-18-216-180.mtv.corp.google.com> (raw)
In-Reply-To: <4EA534F3.9050404@embedded-brains.de> (Sebastian Huber's message	of "Mon, 24 Oct 2011 11:50:43 +0200")

Sebastian Huber <sebastian.huber@embedded-brains.de> writes:

> /tmp/ccTLtFeu.lto.o: In function `memcpy':
> 20010124-1.o:(.text+0x4): multiple definition of `memcpy'
> /home/sh/b-arm-gcc/arm-rtemseabi4.11/./newlib/libc.a(lib_a-memcpy.o):/home/sh/archive/gcc-4.6-20111021-work/newlib/libc/string/memcpy.c:79:
> first defined here

Which version of the linker are you using?  Can you try a newer version?

Ian

  reply	other threads:[~2011-10-24 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-24  9:51 Sebastian Huber
2011-10-24 17:06 ` Ian Lance Taylor [this message]
2011-10-25  7:53   ` Sebastian Huber
2011-10-24 17:21 ` xunxun

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=mcr62jeiajx.fsf@dhcp-172-18-216-180.mtv.corp.google.com \
    --to=iant@google.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=sebastian.huber@embedded-brains.de \
    /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).