This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gcc-in-cxx] Fix top-level configury
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Jan 2009 14:15:24 -0800
- Subject: Re: [gcc-in-cxx] Fix top-level configury
- References: <m37i4cyf16.fsf@google.com>
On Fri, Jan 30, 2009 at 7:44 AM, Ian Lance Taylor <iant@google.com> wrote:
> I committed this patch to the gcc-in-cxx branch. This fixes the
> top-level configury to not think the c++ is missing because it was
> explicitly enabled. It also comments out some code which added
> -fkeep-inlin-functions to stage 1. When building with C++ this breaks
> the inline functions which are provided by <gmp.h>, as they wind up
> getting included in many .o files leading to duplicate definition
> errors at link time.
>
I also noticed that keeping inline function led to link time error.
Can't we mark the kept inline function linktonce?
--
H.J.