This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Anybody success building GCC-3.0 on Sun Sparc Solaris 2.6???
- To: jbakker at astro dot estec dot esa dot nl
- Subject: Re: Anybody success building GCC-3.0 on Sun Sparc Solaris 2.6???
- From: "'David Scott Urban" <urban at ast dot lmco dot com>
- Date: Mon, 09 Jul 2001 07:16:52 -0600 (MDT)
- Cc: gcc-help at gcc dot gnu dot org
Hi,
Just built gcc 3.0 on GCC-3.0 on Sun Sparc Solaris 2.6 sucessfully:
uname -a
SunOS su262 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-60
../gcc/configure --prefix=/home/urban/local/sun26 --with-gnu-as
--with-as=/home/urban/local/sun26/bin/gas --with-gnu-ld --with-ld=/home
/urban/local/sun26/bin/gld --enable-threads=posix --with-included-gettext
--with-catgets --with-gc=page
gas -v
GNU assembler version 2.11.2 (sparc-sun-solaris2.6) using BFD version 2.11.2
gld -v
GNU ld version 2.11.2 (with BFD 2.11.2)
gcc -v
Reading specs from
/home/urban/local/sun26/lib/gcc-lib/sparc-sun-solaris2.6/2.95.3/specs
gcc version 2.95.3 20010315 (release)
D. S. Urban
email : urban@ast.lmco.com
-------------------------------------------------------------------------------
To be the person, you must know the person. To know the person, you must
understand the person. To understand the person, you must listen. To listen,
you must open your mind and put aside all preconceived ideas and notions.
-------------------------------------------------------------------------------
All opinions expressed are my own not that of my employer
>> From gcc-help-return-6090-urban=ast.lmco.com@gcc.gnu.org Mon Jul 9 01:43 MDT
2001
>> Date: Mon, 09 Jul 2001 09:34:35 +0200
>> From: Jorgo Bakker <jbakker@astro.estec.esa.nl>
>> Subject: Anybody success building GCC-3.0 on Sun Sparc Solaris 2.6???
>> To: gcc-help@gcc.gnu.org
>> MIME-version: 1.0
>> Content-transfer-encoding: 7BIT
>> Delivered-to: mailing list gcc-help@gcc.gnu.org
>> Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm
>> X-Accept-Language: en
>> List-Post: <mailto:gcc-help@gcc.gnu.org>
>> List-Unsubscribe:
<mailto:gcc-help-unsubscribe-urban=ast.lmco.com@gcc.gnu.org>
>> List-Archive: <http://gcc.gnu.org/ml/gcc-help/>
>> List-Help: <mailto:gcc-help-help@gcc.gnu.org>
>>
>> Hi,
>>
>> Goal:
>> Working binaries from gcc-3 distribution, with GNU as/ld on Sun Sparc
>> Solaris 2.6
>> * Using source for gcc-3.0, as well as binutils-2.11.2
>> (latter needed, because mangled nested template names can be too long
>> for native tools)
>>
>> Builds:
>>
>> {note: working in clean bash environment}
>> * tried building with Sun CC and Sun as/ld
>> * tried building with gcc-2.95 (using Sun as/ld)
>> * tried building with gcc-2.95 (using binutils as/ld)
>>
>> Compilation/linking of test code
>> $ gcc -g foo.cc
>> $ c++ -g foo.cc
>>
>> Test code:
>> int main()
>> {
>> return 123;
>> }
>>
>> Running the ./a.out gives:
>> 1) with gcc are OK
>> 2) with c++ varying from (all SEG faults by the way):
>> * failing global construction
>> * failing global destruction (e.g. __do_global_dtors_aux)
>> * failing to find symbols
>>
>> All failures are related to libstdc++.
>>
>> Anybody?
>>
>>
>>
>>