[Bug c++/35700] New: Problems compiling applications with -pg option using gcc 3.4.4 compiler.

2008-03-25 Thread asikka at yahoo dot com
Pls help. Already spend 4-5 days debugging this issue. Any quick response is
highly appreciated. We have tried out all kinds of optimizations O1, O2 & O3
but nothing is preventing these errors.

We are getting following errors when compiling our application using GCC 3.4.4
version compiler. The target is Power PC platform. The errors are indicated
below:

CC obj/ppc/debug/OSCLIFactory.o
 tried to exec get_feature but failed (No such file or directory)
{standard input}: Assembler messages:
{standard input}:1868: Error: invalid sections for operation on `.LEHB34' and
`.
LFB55'
{standard input}:1870: Error: invalid sections for operation on `.L258' and
`.LF
B55'
{standard input}:1872: Error: invalid sections for operation on `.LEHB35' and
`.
LFB55'
{standard input}:1972: Error: invalid sections for operation on `.LEHB36' and
`.
LFB54'
{standard input}:1974: Error: invalid sections for operation on `.L291' and
`.LF
B54'
{standard input}:1976: Error: invalid sections for operation on `.LEHB37' and
`.
LFB54'
{standard input}:2607: Error: invalid sections for operation on `.LCFI85' and
`.
LFB55'
{standard input}:2640: Error: invalid sections for operation on `.LCFI90' and
`.
LFB54'
{standard input}:2875: Error: invalid sections for operation on `.LCFI85' and
`.
LFB55'
{standard input}:2912: Error: invalid sections for operation on `.LCFI90' and
`.
LFB54'
{standard input}:2605: Error: can't resolve `.text._ZN16DefaultComponentD0Ev'
{.
text._ZN16DefaultComponentD0Ev section} - `.LFB55'
{.text._ZN16DefaultComponentD
0Ev section}
{standard input}:2605: Error: expression too complex
{standard input}:2638: Error: can't resolve `.text._ZN16DefaultComponentD1Ev'
{.
text._ZN16DefaultComponentD1Ev section} - `.LFB54'
{.text._ZN16DefaultComponentD
1Ev section}
{standard input}:2638: Error: expression too complex
{standard input}:2871: Error: can't resolve `.text._ZN16DefaultComponentD0Ev'
{.
text._ZN16DefaultComponentD0Ev section} - `.LFB55'
{.text._ZN16DefaultComponentD
0Ev section}
{standard input}:2871: Error: expression too complex
{standard input}:2908: Error: can't resolve `.text._ZN16DefaultComponentD1Ev'
{.
text._ZN16DefaultComponentD1Ev section} - `.LFB54'
{.text._ZN16DefaultComponentD
1Ev section}
{standard input}:2908: Error: expression too complex
{standard input}:7524: Error: can't resolve `.text._ZN16DefaultComponentD0Ev'
{.
text._ZN16DefaultComponentD0Ev section} - `.LFB55'
{.text._ZN16DefaultComponentD
0Ev section}
{standard input}:7524: Error: expression too complex
{standard input}:7526: Error: can't resolve `.text._ZN16DefaultComponentD1Ev'
{.
text._ZN16DefaultComponentD1Ev section} - `.LFB54'
{.text._ZN16DefaultComponentD
1Ev section}
{standard input}:7526: Error: expression too complex
*** Error code 1


-- 
   Summary: Problems compiling applications with -pg option using
gcc 3.4.4 compiler.
   Product: gcc
   Version: 3.4.4
            Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: asikka at yahoo dot com


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



[Bug c++/35700] Problems compiling applications with -pg option using gcc 3.4.4 compiler.

2008-03-25 Thread asikka at yahoo dot com


--- Comment #2 from asikka at yahoo dot com  2008-03-26 00:04 ---
(In reply to comment #1)
> >CC obj/ppc/debug/OSCLIFactory.o
> We need the exact command line that was invoked GCC.  We also need the
> preprocessed source.

Thx for your prompt response.

CC command line was =
/usr/bin/WindRiver/gnu/3.4.4-wrlinux-1.4/x86-linux2/bin/powerpc-wrs-linux-gnu-603e-glibc_small-g++
-O1 -pg -funroll-loops -g -fno-omit-frame-pointer -nostdlib -mpowerpc
-mcpu=e300c2 -pipe -D__BIG_ENDIAN__ -O1 -pg -pipe -I

Does this help?

What do you mean by "preprocessed source."?

-Avnish


-- 


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