I have installed GPC (v.20030830) on my RedHat 7.1 running box. GCC is v.2.96 20000731, binutils v. 2.10.91.0.2-3. It works mainly fine until I want to use the key -g for further gdb work. With this key it breaks with next message: Assembler messages: Warning: Unrecognized .section attribute: want a,w,x ... Error: Rest of line ignored. First ignored character is ','
Guess it because of versions incompatibility. But my Linux-GPC experience not allows me to find exact reason of the error. That's why I'm asking more experienced users - what I need to change in my congiguration?
Thanks in advance, Peter.
__________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html
On Sat, Feb 14, 2004 at 06:36:20AM -0800, Peter Norton wrote:
I have installed GPC (v.20030830) on my RedHat 7.1 running box. GCC is v.2.96 20000731, binutils v. 2.10.91.0.2-3. It works mainly fine until I want to use the key -g for further gdb work. With this key it breaks with next message: Assembler messages: Warning: Unrecognized .section attribute: want a,w,x ... Error: Rest of line ignored. First ignored character is ','
Did you try -gstabs as well? It might work better than Dwarf with old binutils.
Emil
On Monday 16 Feb 2004 13:34, Emil Jerabek wrote:
On Sat, Feb 14, 2004 at 06:36:20AM -0800, Peter Norton wrote:
I have installed GPC (v.20030830) on my RedHat 7.1 running box. GCC is v.2.96 20000731, binutils v. 2.10.91.0.2-3. It works mainly fine until I want to use the key -g for further gdb work. With this key it breaks with next message: Assembler messages: Warning: Unrecognized .section attribute: want a,w,x ... Error: Rest of line ignored. First ignored character is ','
Did you try -gstabs as well? It might work better than Dwarf with old binutils.
Emil
I use -gstabs here - the debugging support is not complete (see earlier post) but this allows just enough information to be able to chase them down.
Bryan "Brain Murders" Meredith
Peter Norton wrote:
I have installed GPC (v.20030830) on my RedHat 7.1 running box. GCC is v.2.96 20000731, binutils v. 2.10.91.0.2-3. It works mainly fine until I want to use the key -g for further gdb work. With this key it breaks with next message: Assembler messages: Warning: Unrecognized .section attribute: want a,w,x ... Error: Rest of line ignored. First ignored character is ','
I am using gpc both on RedHat 7.0 and 7.2 and have no such problem. However, I use binutils 2.14. AFAIK there are known problems using gcc 3.x (and you can expect similar problems with gpc based on gcc-3.x) with older binutils. Also, it depends if gpc is compiled for your machine -- binary distribution probably assumes new binutils, while compiling on your machine may activate workarounds for problems with older versions.