This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28746] gcc -g and shared objects



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-08-16 02:55 -------
(In reply to comment #4)
> Subject: Re:  gcc -g and shared objects
> 
> Just because it works for you does not mean it is not a problem. I am
> not an idiot (and I am not saying that you implied that I was) and I
> believe there is a problem. I believe the problem is not in ld, but in
> the aspect of gcc that produces -g output. 

Use -save-temps and look at the output of the .s file, there is nothing unusual
about it.  Also binutils includes as which is what converts the .s file into
the .o file.

> Perhaps I have something
> screwed up with my system, but it is an unpatched default install of
> RH FC5. I tried a regular c file and it worked fine with -g. So, it is
> something with C++ compilation using -g.

And I am using a default install of FC5 too, though updated.  Also so many
other people use FC5 without this issue too.

Anyways I think you should try to update FC5 and then if does not work, try
seeing if you are having memory issues.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28746


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]