[csw-maintainers] GCC 4.6 progress

Maciej (Matchek) Bliziński maciej at opencsw.org
Wed Sep 14 20:14:25 CEST 2011


2011/9/14 Oliver Kiddle <opk at opencsw.org>:
> Maciej (Matchek) Bliziński wrote:
>> gcc-4.6.1 is already installed on the buildfarm. Has anyone built any packages
>> with it? If there are any problems, please report them. We need to test the gcc
>> packages before we push them to dublin.
>
> The C part works ok but I'm having trouble getting g++ to work. With a
> simple hello world program, I get:
> /usr/ccs/bin/as: "/var/tmp//ccM6Znh2.s", line 144: error: unknown opcode ".weakref"
> /usr/ccs/bin/as: "/var/tmp//ccM6Znh2.s", line 144: error: statement syntax
>
> Do I need to to install anything extra?

If you type "gcc -v", it will print the options it has been built
with.  Part of them are:

--with-gnu-as --with-as=/opt/csw/bin/gas

I'm not sure why is it trying to use /usr/ccs/bin/as.  Do you have
/opt/csw/bin/gas in the filesystem?  If not, then CSWgcc4core needs to
depend on CSWbinutils.


More information about the maintainers mailing list