On Fri, Apr 6, 2012 at 2:11 AM, David Edelsohn <dje....@gmail.com> wrote:
> On Thu, Apr 5, 2012 at 4:35 PM, Gabriel Dos Reis
> <g...@integrable-solutions.net> wrote:
>
>>> xlc -fno-exceptions -fno-rtti conftest.c
>>>
>>> fails.  I don't think -fno-rtti -fno-exceptions does what GCC expects.
>>
>> Thanks for these data.  I think -fno-rtti and -fno-exceptions don't make
>> much sense at the linker level so we should leave them out, and use
>> them only when "compiling", e.g. with "-c".
>
> It is used when compiling, e.g. gcov.c, but when compiling and linking
> directly from source without an intermediate object file.

These flags should be only used for stage2+ or when compiling with GCC.
Did you try to bootstrap with xlc or did you use --disable-bootstrap?  gcov.c
is supposed to be compiled with the built GCC C++ compiler.

Richard.

> - David

Reply via email to