Re: Build problem on sparc [ogle, assembler error]
On Tue, Jan 15, 2002 at 02:14:07PM +0100, Mikael Hedin wrote:
> Hi again!
>
> [Thanks for the help, ia64 now builds fine]
>
> This time it's sparc that don't build. See the build log for details,
> http://buildd.debian.org/fetch.php?&pkg=ogle&ver=0.8.2-4&arch=sparc&stamp=1011076373&file=log&as=raw,
>
> And a snip:
>
> gcc -DPACKAGE=\"ogle\" -DVERSION=\"0.8.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_BYTESWAP_H=1 -DHAVE_XSHM=1 -DHAVE_XV=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_MADVISE=1 -DLIBAO_OSS= -DHAVE_XML=1 -DHAVE_XF86VIDMODE=1 -DCONFIG_FILE=\"/usr/share/ogle/oglerc\" -DUSE_SPARCASM=1 -I. -I. -I. -I.. -I../include -g -O2 -Wall -mcpu=ultrasparc -mvis -c msgevents.c -Wp,-MD,.deps/msgevents.TPlo -fPIC -DPIC -o .libs/msgevents.o
> /tmp/ccMkcRE8.s: Assembler messages:
> /tmp/ccMkcRE8.s:605: Error: Architecture mismatch on "bne,pt %icc,.LL130".
> /tmp/ccMkcRE8.s:605: (Requires v9|v9a|v9b; requested architecture is sparclite.)
> /tmp/ccMkc
I'll repeat this many times over. DO NOT USE cpu optimizations in Debian
packages! IOW, remove the -mcpu=ultrasparc line. It is not fully
supported in gcc, and not to mention that if it did work, it would break
the package on sparc32 platforms.
Ben
--
.----------=======-=-======-=========-----------=====------------=-=-----.
/ Ben Collins -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: