tech-pkg archive

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

Re: error compiling editors/biew



On Tue, Apr 14, 2015 at 01:48:34PM +0200, Christian Groessler wrote:
> Hi,
> 
> on i386 -current of a few days ago:
> 
> ------
> ....
> gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 
> -DHAVE_POPEN=1 -D_VT100_ -D__OS_NAME__='"Unix/VT100"' -D__UNIX__ 
> -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 
> -DNDEBUG=1 -O2 -I/usr/pkg/include -DDATADIR='"/usr/pkg/share/biew"'   
> -D__ENABLE_FASTCALL=1 -m32 -D__MACHINE__=ia32 -D__CPU_NAME__='"ia32"' 
> -D__CPU__=386 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1  -I. -c 
> biewlib/sysdep/ia32/aclib.c -o biewlib/sysdep/ia32/aclib.o
> gcc -I. -DHAVE_ICONV -DHAVE_SYS_RESOURCE=1 -DHAVE_PCLOSE=1 
> -DHAVE_POPEN=1 -D_VT100_ -D__OS_NAME__='"Unix/VT100"' -D__UNIX__ 
> -D__OS__="unix" -Uunix -DHAVE_TERMINAL_OUT=1 -D__HAVE_PRAGMA_PACK__=1 
> -DNDEBUG=1 -O2 -I/usr/pkg/include -DDATADIR='"/usr/pkg/share/biew"'   
> -D__ENABLE_FASTCALL=1 -m32 -D__MACHINE__=ia32 -D__CPU_NAME__='"ia32"' 
> -D__CPU__=386 -D__DEFAULT_DISASM=0 -DCAN_COMPILE_X86_GAS=1  -I. -c 
> biewlib/sysdep/ia32/cpu_info.c -o biewlib/sysdep/ia32/cpu_info.o
> biewlib/sysdep/ia32/cpu_info.c: In function '__MOPS_std':
> biewlib/sysdep/ia32/cpu_info.c:541:5: error: unknown register name 'mm7' 
...
> biewlib/sysdep/ia32/cpu_info.c: In function '__SSEOPS_std':
> biewlib/sysdep/ia32/cpu_info.c:641:5: error: unknown register name 
> 'xmm7' in 'asm'
...

You aren't going to get support for sse2 and avx without changing the
processor type (probably -march=xxx) to something other than the default.

	David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index