Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2007 13:53:11 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        sparc64@FreeBSD.org, current@FreeBSD.org
Subject:   sparc64 gcc problems
Message-ID:  <20070817175311.GB29597@rot26.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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@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
--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGxeCHWry0BWjoQKURAslHAJ4y5lYkFJykDV8AkBH/G3CNSikxvQCgv7xR
cytPsiahHjBIlco5kR6CUQQ=
=Uvqd
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070817175311.GB29597>