From dm@home.dinoex.sub.org  Sat Oct 28 00:28:22 2000
Return-Path: <dm@home.dinoex.sub.org>
Received: from net2.dinoex.sub.org (net2.dinoex.de [212.184.201.182])
	by hub.freebsd.org (Postfix) with ESMTP id B99E037B479
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Oct 2000 00:28:20 -0700 (PDT)
Received: from home.dinoex.sub.org (home.dinoex.sub.de [62.157.91.196])
	by net2.dinoex.sub.org (8.11.1/8.11.1) with ESMTP id e9S7Qew10243
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 28 Oct 2000 09:26:40 +0200 (CEST)
	(envelope-from dm@home.dinoex.sub.org)
Received: (from dm@localhost)
	by home.dinoex.sub.org (8.11.1/8.11.1) id e9S7OHh90716; Sat, 28 Oct 2000 09:24:17 +0200 (CEST)
	(envelope-from dm)
Message-Id: <200010280724.e9S7OHh90716@home.dinoex.sub.org>
Date: Sat, 28 Oct 2000 09:24:17 +0200 (CEST)
From: dirk.meyer@dinoex.sub.org
Sender: dm@home.dinoex.sub.org
Reply-To: dirk.meyer@dinoex.sub.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: emulators/bochs don't build
X-Send-Pr-Version: 3.2

>Number:         22370
>Category:       ports
>Synopsis:       emulators/bochs don't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 28 00:30:00 PDT 2000
>Closed-Date:    Tue Jan 23 06:48:03 PST 2001
>Last-Modified:  Tue Jan 23 06:48:53 PST 2001
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
privat
>Environment:

	XFree86 3.3.6_1 from ports installed.
	4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Fri Oct  6 00:25:53 CEST 2000

>Description:

	port don't build

===>  Extracting for bochs-2000.0325
>How-To-Repeat:

	make

>Fix:

	compile without fpu support.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->obrien 
Responsible-Changed-By: sobomax 
Responsible-Changed-When: Thu Nov 2 06:30:07 PST 2000 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22370 
Responsible-Changed-From-To: obrien->freebsd-ports 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Fri Nov 10 22:10:28 PST 2000 
Responsible-Changed-Why:  
I dropped maintainershipo. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22370 
State-Changed-From-To: open->closed 
State-Changed-By: sf 
State-Changed-When: Tue Jan 23 06:48:03 PST 2001 
State-Changed-Why:  
This is caused by compiler bug. Use at least -O to compile bochs. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22370 
>Unformatted:
 >> Checksum OK for bochs-2000_0325a.tar.gz.
 ===>   bochs-2000.0325 depends on shared library: X11.6 - found
 ===>  Patching for bochs-2000.0325
 ===>  Applying FreeBSD patches for bochs-2000.0325
 ===>  Configuring for bochs-2000.0325
 creating cache ./config.cache
 checking for gcc... cc
 checking whether the C compiler (cc -pipe ) works... yes
 checking whether the C compiler (cc -pipe ) is a cross-compiler... no
 checking whether we are using GNU C... yes
 checking whether cc accepts -g... yes
 checking for c++... c++
 checking whether the C++ compiler (c++  -pipe ) works... yes
 checking whether the C++ compiler (c++  -pipe ) is a cross-compiler... no
 checking whether we are using GNU C++... yes
 checking whether c++ accepts -g... yes
 checking whether make sets ${MAKE}... yes
 checking for ranlib... ranlib
 checking how to run the C preprocessor... cc -E
 checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
 checking for dnet_ntoa in -ldnet... no
 checking for dnet_ntoa in -ldnet_stub... no
 checking for gethostbyname... yes
 checking for connect... yes
 checking for remove... yes
 checking for shmat... yes
 checking for IceConnectionNumber in -lICE... yes
 checking whether byte ordering is bigendian... no
 checking for inline... inline
 checking size of unsigned char... 1
 checking size of unsigned short... 2
 checking size of unsigned int... 4
 checking size of unsigned long... 4
 checking size of unsigned long long... 8
 checking for select... yes
 checking for cpu level... 4
 checking for dynamic translation support... no
 checking for NE2000 support... no
 checking for i440FX PCI support... no
 checking for port e9 hack... no
 checking for use of .cpp as suffix... no
 checking for Bochs internal debugger support... no
 checking for disassembler support... no
 checking for loader support... no
 checking for instrumentation support... no
 checking for VGA emulation... yes
 checking for FPU emulation... yes
 checking for x86 debugger support... no
 checking for CDROM support... no
 checking for Sound Blaster 16 support... no
 updating cache ./config.cache
 creating ./config.status
 creating Makefile
 creating iodev/Makefile
 creating debug/Makefile
 creating bios/Makefile
 creating cpu/Makefile
 creating memory/Makefile
 creating gui/Makefile
 creating disasm/Makefile
 creating instrument/stubs/Makefile
 creating misc/Makefile
 creating dynamic/Makefile
 creating fpu/Makefile
 creating config.h
 ===>  Building for bochs-2000.0325
 [...]
 c++ -o bochs -pipe   main.o  load32bitOShack.o  state_file.o  pc_system.o    iodev/libiodev.a  cpu/libcpu.a memory/libmemory.a gui/libgui.a   fpu/libfpu.a  -L/usr/X11R6/lib -lSM -lICE -lX11    
 fpu/libfpu.a(poly_atan.o): In function `poly_atan':
 poly_atan.o(.text+0x21f): undefined reference to `negate_Xsig'
 poly_atan.o(.text+0x35b): undefined reference to `negate_Xsig'
 poly_atan.o(.text+0x384): undefined reference to `negate_Xsig'
 poly_atan.o(.text+0x39c): undefined reference to `add_two_Xsig'
 poly_atan.o(.text+0x431): undefined reference to `negate_Xsig'
 poly_atan.o(.text+0x444): undefined reference to `add_Xsig_Xsig'
 poly_atan.o(.text+0x473): undefined reference to `negate_Xsig'
 poly_atan.o(.text+0x487): undefined reference to `add_Xsig_Xsig'
 poly_atan.o(.text+0x4b8): undefined reference to `negate_Xsig'
 poly_atan.o(.text+0x4cc): undefined reference to `add_Xsig_Xsig'
 poly_atan.o(.text+0x502): undefined reference to `negate_Xsig'
 poly_atan.o(.text+0x516): undefined reference to `add_Xsig_Xsig'
 fpu/libfpu.a(poly_l2.o): In function `poly_l2':
 poly_l2.o(.text+0x129): undefined reference to `negate_Xsig'
 poly_l2.o(.text+0x13c): undefined reference to `add_Xsig_Xsig'
 fpu/libfpu.a(poly_l2.o): In function `log2_kernel':
 poly_l2.o(.text+0x403): undefined reference to `negate_Xsig'
 poly_l2.o(.text+0x554): undefined reference to `add_two_Xsig'
 fpu/libfpu.a(poly_2xm1.o): In function `poly_2xm1':
 poly_2xm1.o(.text+0x191): undefined reference to `add_two_Xsig'
 fpu/libfpu.a(poly_sin.o): In function `poly_sine':
 poly_sin.o(.text+0xf6): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x1a2): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x2d4): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x2fd): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x343): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x356): undefined reference to `add_Xsig_Xsig'
 poly_sin.o(.text+0x37a): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x3a1): undefined reference to `mul_32_32'
 poly_sin.o(.text+0x3ca): undefined reference to `mul_32_32'
 fpu/libfpu.a(poly_sin.o): In function `poly_cos':
 poly_sin.o(.text+0x60c): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x635): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x698): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x6ab): undefined reference to `add_Xsig_Xsig'
 poly_sin.o(.text+0x6cb): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x85c): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x8f8): undefined reference to `negate_Xsig'
 poly_sin.o(.text+0x93c): undefined reference to `mul_32_32'
 poly_sin.o(.text+0x95a): undefined reference to `mul_32_32'
 poly_sin.o(.text+0x9c1): undefined reference to `add_Xsig_Xsig'
 fpu/libfpu.a(poly_tan.o): In function `poly_tan':
 poly_tan.o(.text+0x150): undefined reference to `negate_Xsig'
 poly_tan.o(.text+0x1bb): undefined reference to `negate_Xsig'
 poly_tan.o(.text+0x230): undefined reference to `negate_Xsig'
 poly_tan.o(.text+0x2f2): undefined reference to `add_two_Xsig'
 *** Error code 1
 
 Stop in /image/src/ports/emulators/bochs/work/bochs-2000_0325a.
 *** Error code 1
 
 Stop in /src/ports/emulators/bochs.
 *** Error code 1
 
 Stop in /src/ports/emulators/bochs.
 *** Error code 1
 
 Stop in /src/ports/emulators/bochs.
 
