2011/9/14 Oliver Kiddle <[email protected]>: > 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. _______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
