Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2008 10:09:45 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Vijayalakshmi BN <vijibn.07@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help needed: Which gcc version supports xmemalign
Message-ID:  <20081118160945.GA23501@dan.emsphone.com>
In-Reply-To: <ce074c280811180240t49f779aek993936f79bff06c9@mail.gmail.com>
References:  <ce074c280811180240t49f779aek993936f79bff06c9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 18), Vijayalakshmi BN said:
> I'm working on Solaris 9 and using gcc version 2.9.5. I'm facing
> issues with respect to memory misalignment. I'm getting SIGBUS
> errors. Through various websites, I found that xmemalign can be used
> while compiling to handle memory alignment issues. Bu the version I'm
> using doesn't support xmemalign option. Even gcc version 3.4.3
> doesn't support. It says: gcc: language memalign=1i not recognized
> Can you let me know which version of gcc supports xmemalign option on
> solaris? Also where can I download the gcc version from?

-xmemalign=ab is a Sun Studio compiler flag, not a GCC flag.  If you
don't already have it, you can download it free from
http://developers.sun.com/sunstudio/ .  If for some reason you must use
a GCC frontend, you can try GCC for Sparc Systems (
http://cooltools.sunsource.net/gcc/ ), which supports all the regular
GCC flags plus many Sun Studio ones, including xmemalign:

http://cooltools.sunsource.net/gcc/flags.html

But as Mel said, this has nothing to do with FreeBSD, so this post
doesn't exist.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081118160945.GA23501>