sparc64 gcc problems

Kris Kennaway kris at obsecurity.org
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/ld-elf.so.1: budgie/budgie: Undefined symbol "_ZN9__gnu_cxx18__exchange_and_addEPVii"

/usr/local/lib/libAtlasObjects-0.6.so: undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
/usr/local/lib/libvarconf-1.0.so: 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
segfaults.

Is anyone interested in investigating?

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-sparc64/attachments/20070817/2b18d5d9/attachment.pgp


More information about the freebsd-sparc64 mailing list