sparc64 gcc problems

Kris Kennaway kris at
Fri Aug 17 10:53:12 PDT 2007

It looks like there are a few ports that have problems with our gcc
compiler on sparc64.

1) Some of them complaing about missing libstdc++ symbols:

/libexec/ budgie/budgie: Undefined symbol "_ZN9__gnu_cxx18__exchange_and_addEPVii"

/usr/local/lib/ undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
/usr/local/lib/ undefined reference to `_ZN9__gnu_cxx18__exchange_and_addEPVii at GLIBCXX_3.4'

This seems to be a MD libstdc++ symbol that we may not be adding
properly on sparc.

2) A couple of ports are failing like this:

log.c:21894: warning: incompatible implicit declaration of built-in function 'strchr'
{standard input}: Assembler messages:
{standard input}:23537: Error: Illegal operands
{standard input}:23597: Error: Illegal operands

which makes me suspect that gcc is emitting opcodes that binutils
cannot assemble.

3) there are a number of ports that are failing at runtime due to

Is anyone interested in investigating?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-sparc64 mailing list