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

Reply via email to