'0907 snapshot build failure on UnixWare 7.1

Brown, Rodney RodneyBrown@PMSC.com
Wed Sep 8 19:41:00 GMT 1999


egcs-19990907/gcc/libgcc2.c as _floatdidf fails to assemble on UnixWare 7.1
using the vendor assembler

_floatdidf
UX:as: ERROR: /var/tmp/ccwACzYF.s:279:invalid operand combination: fld: \
 No such file or directory
make[2]: *** [libgcc2.a] Error 1

# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../egcs-19990907/configure \
	--with-gcc-version-trigger=/devel/src/egcs-19990907/gcc/version.c \
	--host=i586-pc-unixware7 --target=i586-pc-unixware7 --norecursion 
# uname -a
UnixWare teatree 5 7.1.0 i386 x86at SCO UNIX_SVR5

Also should config.guess be updated for autoconf 2.15's new UnixWare 7
convention
(i586-sco-sysv5uw<version>) for 2.95.2 ? (See at end)


...
mv -f cplib2.new cplib2.txt 
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 \
  _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 \
  _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi \
  _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi
\
  _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab \
  _clear_cache _trampoline __main _exit _ctors _pure; \
do \
  echo ${name}; \
  ./xgcc -B/usr/local/i586-pc-unixware7/bin/ -B./ \
    -I/usr/local/i586-pc-unixware7/include -O2 -DIN_GCC -g -W -Wall \
    -I./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \
    -I. -I../../egcs-19990907/gcc -I../../egcs-19990907/gcc/config \
    -I../../egcs-19990907/gcc/../include -c -DL${name} \
       ../../egcs-19990907/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ` if [ -f /devel/src/egcs-19990907.obj/gcc/../binutils/ar ] ;
  then echo /devel/src/egcs-19990907.obj/gcc/../binutils/ar ;
  else if [ "i586-pc-sysv4.2uw" = "i586-pc-sysv4.2uw" ] ;
  then echo ar; else t='s,x,x,'; echo ar | sed -e $t ; fi; fi` \
  rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
_divdi3
_moddi3
_udivdi3
_umoddi3
_negdi2
_lshrdi3
_ashldi3
_ashrdi3
_ffsdi2
_udiv_w_sdiv
_udivmoddi4
_cmpdi2
_ucmpdi2
_floatdidf
UX:as: ERROR: /var/tmp/ccwACzYF.s:279:invalid operand combination: fld: No
such file or directory
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/devel/src/egcs-19990907.obj/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/devel/src/egcs-19990907.obj/gcc'
make: *** [bootstrap-lean] Error 2

_floatdidf.s
	.file	"libgcc2.c"
	.version	"01.01"
gcc2_compiled.:

	.section	.text
.L_text_b:
	.previous

	.section	.data
.L_data_b:
	.previous

	.section	.rodata
.L_rodata_b:
	.previous

	.section	.bss
.L_bss_b:
	.previous

	.section	.debug
.L_debug_b:
.L_D1:
	.4byte	.L_D1_e-.L_D1
	.2byte	0x11
	.2byte	0x12
	.4byte	.L_D2
	.2byte	0x38
	.string	"../../egcs-19990907/gcc/libgcc2.c"
	.2byte	0x258
	.string	"GNU C 2.96 19990907 (experimental)"
	.2byte	0x136
	.4byte	0x1
	.2byte	0x111
	.4byte	.L_text_b
	.2byte	0x121
	.4byte	.L_text_e
	.2byte	0x1b8
	.string	"/devel/src/egcs-19990907.obj/gcc"
.L_D1_e:
	.previous

	.ident	"@(#)sgs-head:i386/head/stdlib.h	1.39.1.6"
.text
	.align 16
	.type	 getlogin_r,@function
getlogin_r:
.L_b1:
	pushl	%ebp
	movl	%esp, %ebp
	subl	$20, %esp
	pushl	%ebx
	call	.L3
.L3:
	popl	%ebx
	addl	$_GLOBAL_OFFSET_TABLE_+[.-.L3], %ebx
	subl	$8, %esp
	movl	12(%ebp), %eax
	pushl	%eax
	movl	8(%ebp), %eax
	pushl	%eax
	call	_xgetlogin_r@PLT
	movl	-24(%ebp), %ebx
	movl	%ebp, %esp
	popl	%ebp
	ret
.L_b1_e:
.L_f1_e:
.Lfe1:
	.size	 getlogin_r,.Lfe1-getlogin_r

	.section	.debug
.L_D3:
	.4byte	.L_D3_e-.L_D3
	.2byte	0x14
	.2byte	0x12
	.4byte	.L_D4
	.2byte	0x38
	.string	"getlogin_r"
	.2byte	0x278
	.string	""
	.2byte	0x55
	.2byte	0x7
	.2byte	0x111
	.4byte	getlogin_r
	.2byte	0x121
	.4byte	.L_f1_e
	.2byte	0x8041
	.4byte	.L_b1
	.2byte	0x8051
	.4byte	.L_b1_e
.L_D3_e:
.L_D5:
	.4byte	.L_D5_e-.L_D5
	.2byte	0x5
	.2byte	0x12
	.4byte	.L_D6
	.2byte	0x38
	.string	"__1"
	.2byte	0x63
	.2byte	.L_t5_e-.L_t5
.L_t5:
	.byte	0x1
	.2byte	0x1
.L_t5_e:
	.2byte	0x23
	.2byte	.L_l5_e-.L_l5
.L_l5:
	.byte	0x2
	.4byte	0x5
	.byte	0x4
	.4byte	0x8
	.byte	0x7
.L_l5_e:
.L_D5_e:
.L_D6:
	.4byte	.L_D6_e-.L_D6
	.2byte	0x5
	.2byte	0x12
	.4byte	.L_D7
	.2byte	0x38
	.string	"__2"
	.2byte	0x55
	.2byte	0x9
	.2byte	0x23
	.2byte	.L_l6_e-.L_l6
.L_l6:
	.byte	0x2
	.4byte	0x5
	.byte	0x4
	.4byte	0xc
	.byte	0x7
.L_l6_e:
.L_D6_e:
.L_D7:
	.4byte	0x4
	.previous
	.align 16
	.type	 ttyname_r,@function
ttyname_r:
.L_b2:
	pushl	%ebp
	movl	%esp, %ebp
	subl	$20, %esp
	pushl	%ebx
	call	.L5
.L5:
	popl	%ebx
	addl	$_GLOBAL_OFFSET_TABLE_+[.-.L5], %ebx
	subl	$4, %esp
	movl	16(%ebp), %eax
	pushl	%eax
	movl	12(%ebp), %eax
	pushl	%eax
	movl	8(%ebp), %eax
	pushl	%eax
	call	_xttyname_r@PLT
	movl	-24(%ebp), %ebx
	movl	%ebp, %esp
	popl	%ebp
	ret
.L_b2_e:
.L_f2_e:
.Lfe2:
	.size	 ttyname_r,.Lfe2-ttyname_r

	.section	.debug
.L_D4:
	.4byte	.L_D4_e-.L_D4
	.2byte	0x14
	.2byte	0x12
	.4byte	.L_D8
	.2byte	0x38
	.string	"ttyname_r"
	.2byte	0x278
	.string	""
	.2byte	0x55
	.2byte	0x7
	.2byte	0x111
	.4byte	ttyname_r
	.2byte	0x121
	.4byte	.L_f2_e
	.2byte	0x8041
	.4byte	.L_b2
	.2byte	0x8051
	.4byte	.L_b2_e
.L_D4_e:
.L_D9:
	.4byte	.L_D9_e-.L_D9
	.2byte	0x5
	.2byte	0x12
	.4byte	.L_D10
	.2byte	0x38
	.string	"__1"
	.2byte	0x55
	.2byte	0x7
	.2byte	0x23
	.2byte	.L_l9_e-.L_l9
.L_l9:
	.byte	0x2
	.4byte	0x5
	.byte	0x4
	.4byte	0x8
	.byte	0x7
.L_l9_e:
.L_D9_e:
.L_D10:
	.4byte	.L_D10_e-.L_D10
	.2byte	0x5
	.2byte	0x12
	.4byte	.L_D11
	.2byte	0x38
	.string	"__2"
	.2byte	0x63
	.2byte	.L_t10_e-.L_t10
.L_t10:
	.byte	0x1
	.2byte	0x1
.L_t10_e:
	.2byte	0x23
	.2byte	.L_l10_e-.L_l10
.L_l10:
	.byte	0x2
	.4byte	0x5
	.byte	0x4
	.4byte	0xc
	.byte	0x7
.L_l10_e:
.L_D10_e:
.L_D11:
	.4byte	.L_D11_e-.L_D11
	.2byte	0x5
	.2byte	0x12
	.4byte	.L_D12
	.2byte	0x38
	.string	"__3"
	.2byte	0x55
	.2byte	0x9
	.2byte	0x23
	.2byte	.L_l11_e-.L_l11
.L_l11:
	.byte	0x2
	.4byte	0x5
	.byte	0x4
	.4byte	0x10
	.byte	0x7
.L_l11_e:
.L_D11_e:
.L_D12:
	.4byte	0x4
	.previous
	.ident	"@(#)sgs-head:common/head/unistd.h	1.52"
	.ident	"@(#)unixsrc:usr/src/i386/uts/util/types.h  /main/uw7_nj/4"
	.ident	"@(#)unixsrc:usr/src/common/uts/fs/select.h  /main/uw7_nj/2"
	.ident	"@(#)unixsrc:usr/src/common/uts/proc/unistd.h
/main/uw7_nj/5"
	.ident	"$Header: $"
	.section	.rodata
	.align 8
.LC0:
	.long	0x0
	.long	0x40f00000
.text
	.align 16
.globl __floatdidf
	.type	 __floatdidf,@function
__floatdidf:
.L_b3:
.L_B2:
	pushl	%ebp
	movl	%esp, %ebp
	pushl	%ebx
	call	.L7
.L7:
	popl	%ebx
	addl	$_GLOBAL_OFFSET_TABLE_+[.-.L7], %ebx
	movl	8(%ebp), %eax
	movl	$0, %edx
	fldl	.LC0@GOTOFF(%ebx)
	fld	%st
;^^^^^^^^ Errant instruction
	fimull	12(%ebp)
	fmulp	%st,%st(1)
	pushl	%edx
	pushl	%eax
	fildll	(%esp)
	movl	-4(%ebp), %ebx
	faddp	%st,%st(1)
	movl	%ebp, %esp
	popl	%ebp
	ret
.L_B2_e:
.L_b3_e:
.L_f3_e:
.Lfe3:
	.size	 __floatdidf,.Lfe3-__floatdidf

	.section	.debug_pubnames
	.4byte	.L_P0
	.string	"__floatdidf"
	.previous

	.section	.debug
.L_P0:
.L_D8:
	.4byte	.L_D8_e-.L_D8
	.2byte	0x6
	.2byte	0x12
	.4byte	.L_D13
	.2byte	0x38
	.string	"__floatdidf"
	.2byte	0x278
	.string	""
	.2byte	0x55
	.2byte	0xf
	.2byte	0x111
	.4byte	__floatdidf
	.2byte	0x121
	.4byte	.L_f3_e
	.2byte	0x8041
	.4byte	.L_b3
	.2byte	0x8051
	.4byte	.L_b3_e
.L_D8_e:
.L_D14:
	.4byte	.L_D14_e-.L_D14
	.2byte	0x5
	.2byte	0x12
	.4byte	.L_D15
	.2byte	0x38
	.string	"u"
	.2byte	0x55
	.2byte	0x8008
	.2byte	0x23
	.2byte	.L_l14_e-.L_l14
.L_l14:
	.byte	0x2
	.4byte	0x5
	.byte	0x4
	.4byte	0x8
	.byte	0x7
.L_l14_e:
.L_D14_e:
.L_D15:
	.4byte	0x4
	.previous

	.section	.debug
.L_D13:
	.4byte	.L_D13_e-.L_D13
	.2byte	0x13
	.2byte	0x12
	.4byte	.L_D16
	.set	.L_T100,.L_D13
	.2byte	0x38
	.string	"rtx_def"
.L_D13_e:
	.previous

	.section	.debug
.L_D16:
	.4byte	.L_D16_e-.L_D16
	.2byte	0x13
	.2byte	0x12
	.4byte	.L_D17
	.set	.L_T426,.L_D16
	.2byte	0x38
	.string	"timeval"
.L_D16_e:
	.previous

	.section	.debug
.L_D17:
	.4byte	.L_D17_e-.L_D17
	.align 4
.L_D17_e:
.L_D2:
	.previous

	.section	.text
.L_text_e:
	.previous

	.section	.data
.L_data_e:
	.previous

	.section	.rodata
.L_rodata_e:
	.previous

	.section	.bss
.L_bss_e:
	.previous
	.ident	"GCC: (GNU) 2.96 19990907 (experimental)"

This is the mail archive of the autoconf-prs@sourceware.cygnus.com mailing
list
for the autoconf project. 

autoconf/60: config.guess emitted string incorrect for Unixware7

To: autoconf-gnats@sourceware.cygnus.com 
Subject: autoconf/60: config.guess emitted string incorrect for Unixware7 
From: hops@sco.com 
Date: 27 Aug 1999 19:33:31 -0000 

>Number:         60
>Category:       autoconf
>Synopsis:       config.guess emitted string incorrect for Unixware7
>State:          open
>Class:          sw-bug
>Arrival-Date:   Fri Aug 27 12:42:03 PDT 1999
>Originator:     hops@sco.com
>Release:        autoconf-2.13
>Environment:
Unixware7 (any) 
>Description:
current string emited for unixware7 platform recognition is 
topsy turvy with respect to strings generated for other
platforms and deficient of needed info.
Currently emits
i?86-UnixWare<version>-sysv5
name and version should be on trailing field, second field 
should be vendor/manuf


Theres been some internal differences at SCO for this
We've now internally agreed on 
i586-sco-sysv5uw<version>
for sco releases and 
i586-pc-sysv5<optional name + version>
for any others.
>How-To-Repeat:
sh config.guess on any Unixware7 platform
>Fix:
*** config.guess.orig      Tue Aug 10 18:17:35 1999
--- config.guess        Fri Aug 27 12:37:47 1999
***************
*** 805,816 ****
fi
exit 0 ;;
i?86:*:5:7*)
!       UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
!       (/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
!       (/bin/uname -X|egrep 'hine.*Pentium' >/dev/null) && UNAME_MACHINE=i5
!       (/bin/uname -X|egrep 'hine.*Pent.*II' >/dev/null) && UNAME_MACHINE=i
!       (/bin/uname -X|egrep 'hine.*Pentium Pro' >/dev/null) && UNAME_MACHIN
!       echo
${UNAME_MACHINE}-${UNAME_SYSTEM}${UNAME_VERSION}-sysv${UNAME_RELEAS
exit 0 ;;
i?86:*:3.2:*)
if test -f /usr/options/cb.name; then
--- 809,820 ----
fi
exit 0 ;;
i?86:*:5:7*)
!         UNAME_MACHINE=i586      # fixed at (any) pentium or better
!         if [ ${UNAME_SYSTEM} = "UnixWare" ] ; then
!             echo
${UNAME_MACHINE}-sco-sysv${UNAME_RELEASE}uw${UNAME_VERSION}
!         else
!             echo ${UNAME_MACHINE}-pc-sysv${UNAME_RELEASE}
!         fi
exit 0 ;;
i?86:*:3.2:*)
if test -f /usr/options/cb.name; then
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-bugs mailing list