This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46655] invalid '.line 0' directive emitted with -g
- From: "richard.nolde at cybox dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 24 Feb 2011 20:53:57 +0000
- Subject: [Bug target/46655] invalid '.line 0' directive emitted with -g
- Auto-submitted: auto-generated
- References: <bug-46655-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46655
--- Comment #21 from Richard Nolde <richard.nolde at cybox dot com> 2011-02-24 20:53:42 UTC ---
On 02/24/2011 01:42 PM, michael.haubenwallner at salomon dot at wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46655
>
> --- Comment #20 from Michael Haubenwallner<michael.haubenwallner at salomon dot at> 2011-02-24 20:42:46 UTC ---
> (In reply to comment #19)
>
>>> /usr/bin/gcc -c -g -fkeep-inline-functions -DIN_GCC ...
>>>
>> This is a problem in /usr/bin/gcc, not in the GCC sources you're compiling.
>>
> (In reply to comment #1)
>
>> $ gmake bootstrap STAGE1_CFLAGS=-O
>>
> Richard, does this workaround work for you?
>
I'll try it and see. In the meantime, I tried using a SRC RPM for gcc
4.4.0 instead 4.5.0 and got the same error at a different point in the
build. I've contacted the builder of the GCC package for AIX, michael
perzl at perlz.org, who builds his OpenSource packages with the IBM xlc
compiler instead of with Gcc. I don't like paying for IBMs compiler
since their support is so expensive and their commitment to Open Source
has fallen way off. The versions of Open Source that they distribute,
including Gcc are usually prehistoric and often don't even work. With
Gcc 4.1.1, we had to get a consultant to rebuild it, but we traced that
to the fact that the second stage build was trying to use the newly
built ld from binutils, which will never work on AIX. The AIX linker is
a world unto itself.
Michael Perzl has some AIX patches on his website for gcc that might be
worth looking at but they are for older versions and they may not be
correct.
I will test and get back to you.
Thanks,
Richard Nolde
Open Source Developer (tiffcrop from LibTiff )