Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build distribution fails on sparc64



Martin Husemann a écrit :
On Thu, Mar 13, 2014 at 08:52:59PM +0100, BERTRAND Joël wrote:
--- gcrt0.o ---
/usr/src/lib/csu/arch/sparc/crt0.S: Assembler messages:
/usr/src/lib/csu/arch/sparc/crt0.S:53: Error: detected global register
use not covered by .register pseudo-op
...

        Both files come from sparc directory, not from sparc64. I'm suppose
there is a bug in Makefile.

Need more context - this could be from the 32bit compat build part.
Do you have any special settings in /etc/mk.conf? Like forcing -mcpu=...
or similar?

        Yes, I have. Here is my /etc/mk.conf :
ACCEPTABLE_LICENSES+= vim-license
ACCEPTABLE_LICENSES+= gnu-agpl-v3

COPTS= -O2
CPUFLAGS= -mcpu=ultrasparc3 -mtune=ultrasparc3

PKG_OPTIONS.gcc48= nls gcc-inplace-math gcc-c++ gcc-fortran

        I have tried to add :
MACHINE_CPU=sparc64
MACHINE_ARCH=sparc64

to force /usr/src/lib/csu/arch/sparc64/crt0.S instead of /usr/src/lib/csu/arch/sparc/crt0.S.

        Regards,

        JKB


Home | Main Index | Thread Index | Old Index