tech-pkg archive

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

Re: goom, break Libttol unrecognized -force_cpusubtype_ALL

Am 05.04.2012 15:57, schrieb Patrick Welche:
> On Wed, Apr 04, 2012 at 12:02:42PM +0200, Maurizio Caloro wrote:
>>> Datum: Wed, 4 Apr 2012 18:24:47 +0900
>>>> Datum: Wed, 4 Apr 2012 at 10:34:53AM +0200, Mauri wrote:
>>> Missing compiler after --mode=compile.
>>> Joerg
>> Thanks Joerg for your quick Answer!
>> After modified the line i try both way, but i don't have Success.
>> make clean & make applay everytime.
> I think the hint was: what is $CC set to?
> - in your first email it was empty ""
> - in this line it seems to be "CC"
>> /bin/sh ../libtool --mode=compile CC    -force_cpusubtype_ALL -c -o 
>> ppc_zoom_ultimate.lo ppc_zoom_ultimate.s
> - and here it seems to be "cc"
>> /bin/sh ../libtool --tag=CC --mode=compile cc    -force_cpusubtype_ALL -c -o 
>> ppc_zoom_ultimate.lo ppc_zoom_ultimate.s
> So do you set CC somewhere, eg /etc/mk.conf? Also which cc was it you ended
> up calling? ("cc -version" might give us a clue)
> Cheers,
> Patrick

Hello Patrick
i think but not shure the Makefile specified the variable to the correct cc

here makefile from "audio/goom"
CC = cc
CCASFLAGS = -force_cpusubtype_ALL
CCDEPMODE = depmode=gcc3
CFLAGS = -O2 -I/usr/include

[or other example]
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS)
CCLD = $(CC)

[back to my]
LTCCASCOMPILE = $(LIBTOOL) --tag=$(CC) --mode=compile $(CCAS)

/bin/sh ../libtool --tag=CC --mode=compile cc  -force_cpusubtype_ALL -c
-o ppc_zoom_ultimate.lo ppc_zoom_ultimate.s
libtool: compile:  cc -force_cpusubtype_ALL -c ppc_zoom_ultimate.s 
-fPIC -DPIC -o .libs/ppc_zoom_ultimate.o
ppc_zoom_ultimate.s: Assembler messages:
ppc_zoom_ultimate.s:1: Error: Unrecognized opcode: `powerpc'
ppc_zoom_ultimate.s:2: Error: Unrecognized opcode: `©'

# cc -v
Using built-in specs.
Target: powerpc--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--enable-long-long --disable-multilib --enable-threads --disable-symvers
--build=x86_64-unknown-netbsd4.99.72 --host=powerpc--netbsd
--target=powerpc--netbsd --enable-__cxa_atexit
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

# CC -v
CC: command not found


Home | Main Index | Thread Index | Old Index