sparc optflags

Tomasz Mateja tommat w pimpek.one.pl
Nie, 16 Mar 2008, 23:15:22 CET


Jakub Bogusz pisze:
> On Sun, Mar 16, 2008 at 03:13:07PM +0100, Andrzej Krzysztofowicz wrote:
>> Tomasz Mateja wrote:
>>> Tomasz Mateja pisze:
>>>> proponuję zastąpić:
>>>> -mcpu=v7 -mtune=ultrasparc na -mcpu=v8 -mtune=ultrasparc -mv8plus
>>>> Skutkowało by to 32bitowym kodem ale możliwym do odpalenia tylko na 
>>>> Ultra SPARC+ (US 2, 3, 4, Micro)
>>>> chyba żeby wyłączyć -mv8plus to na Super SPARC+ (Super, Micro, Hyper)
>>> Albo pojechać po całości i zrobić -mcpu=v9 :)
>> To by trzeba zmienic arch na sparc64 dla tego pakietu.
> 
> sparc64 to nie, z -m32 daje nadal 32-bitowy kod.
> 
> Natomiast z -mcpu=v9 czy -mv8plus nie należy tych pakietów nazywać sparc,
> tylko sparcv9.

tylko jak majac arch sparc zacząć budowac sparcv9?
builder -bb -c -r auto-th-gcc-4_2_3-1 gcc --target=sparcv9-pld-linux
[...]
checking for .preinit_array/.init_array/.fini_array support... yes
checking if mkdir takes one argument... no
*** Configuration sparcv9-pld-linux-gnu not supported
make[2]: *** [configure-stage1-gcc] Error 1
make[2]: Leaving directory 
`/home/users/builder/rpm/BUILD/gcc-4.2.3/builddir'

builder -bb -c -r rpm-4_4_9 rpm --target=sparcv9-pld-linux
[...]
checking build system type... sparcv9-pld-linux-gnu
checking host system type... sparcv9-pld-linux-gnu
checking target system type... sparcv9-pld-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
error: Bad exit status from /home/users/builder/tmp/rpm-tmp.5547 (%build)

-- 
T.


Więcej informacji o liście dyskusyjnej pld-devel-pl