[Bug c++/31185] New: Bus Error in Solaris Sparc

2007-03-15 Thread kkumar dot pdtr at gmail dot com
I'm using gcc compiler v3.4.3 to compile our custom product in Solaris Sparc
processor.

While executing in release mode, i'm receiving Bus Error where as in debug mode
i'm receiving signal SIGSECV.

I'm assuming that this could be a issue with data alignment issues with sparc
processor. Can you please let me know how to handle data alignment issues with
gcc compiler in Solaris Sparc processor ?


Any help is greatly appreciated..

FYI,
This the gcc version, i'm using..
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)



Regards,
Kishore.


-- 
   Summary: Bus Error in Solaris Sparc
   Product: gcc
   Version: 3.4.3
Status: UNCONFIRMED
  Severity: blocker
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kkumar dot pdtr at gmail dot com


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



[Bug c++/31185] Bus Error in Solaris Sparc

2007-03-15 Thread kkumar dot pdtr at gmail dot com


--- Comment #2 from kkumar dot pdtr at gmail dot com  2007-03-15 15:27 
---
(In reply to comment #1)
> You need to ask your vendor about issues with such old gcc.  If you are not
> actively breaking alignment rules gcc should do fine by default.
> 

So does the version 3.4.3 actually has the data alignment issues handled ?


-- 


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