Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2000 15:03:08 +0930
From:      Matthew Thyer <Matthew.Thyer@dsto.defence.gov.au>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        "David O'Brien" <obrien@freebsd.org>, current@freebsd.org, Matthew Thyer <thyerm@camtech.net.au>
Subject:   Re: Oddities with the new binutils
Message-ID:  <393F3014.448D2A8C@dsto.defence.gov.au>
References:  <39375E5D.A967720F@dsto.defence.gov.au> <20000603232557.C67024@dragon.nuxi.com> <20000607150244.A23666@cons.org> <20000607173734.A3002@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------52C9B151EBB798F2EDC3A995
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

"-O -pipe" is all I use for kernel and world builds.

The kernel config file from my work box is attached.

I have never built gcc from ports.

I always use "config -r" when building kernels.

I dont use modules as I have everything I need in my kernel
including COMPAT_LINUX.

And as I said before I removed all ports so that my testing is
with XFree86, xaos and any supporting libraries all compiled
after my world and kernel build.  Did you do something similar ?

I am using XFree86 3.3.6 on both machines.

If it comes down to particular video cards,

My work machine has:

  VESA: v1.2, 2048k memory, flags:0x0, mode table:0xc00c09da (c00009da)
  VESA: S3 Incorporated. Trio64V+

My home machine has a "3dfx Velocity 100 AGP with 8MB SGRAM" which is
detected as a Voodoo 3 by the VESA code.


Martin Cracauer wrote:
> 
> In <20000607150244.A23666@cons.org>, Martin Cracauer wrote:
> > In <20000603232557.C67024@dragon.nuxi.com>, David O'Brien wrote:
> > > On Fri, Jun 02, 2000 at 04:42:29PM +0930, Matthew Thyer wrote:
> > > > Three issues:
> > > > - floating point math doesn't seem to work properly:
> >
> > I don't have a -current machine I want to delete all ports from, but I
> > have a -current from yesterday, I compiled xaos on it and libpng,
> > which is the only dependency of xaos.  That leave XFree as the only
> > non-recompiled thing in the chain.
> >
> > Works fine.
> 
> OK, now I am pissed.  I also recompiled and restarted X11 to trace
> this down, only to find that some stupid error in Xwrapper breaks
> xinit and I had to roll my own xinit.
> 
> Anyway, now I am running everything in the pipe compiled within the
> last 24 hours on a fresh -current and xaos work just fine.
> 
> > > It could also be poorly written ASM code in the things you were running.
> > > The old Binutils let people write inconsistent and illegal ASM.
> >
> > xoas and png themself do not have assembler files.  Xfree servers have
> > some, but not in floating point related things.
> >
> > Where is the information that this is a floating-point problem from?
> >
> > Matthew, do you possibly use a custom gcc from /usr/local/bin and the
> > native assembler or vice versa?
> 
> Also, what level of optimization do you use?
> 
> Martin
> --
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> Martin Cracauer <cracauer@cons.org> http://www.cons.org/cracauer/
> BSD User Group Hamburg, Germany     http://www.bsdhh.org/

-- 
 Matthew Thyer                                 Phone:  +61 8 8259 7249
 Corporate Information Systems                 Fax:    +61 8 8259 5537
 Defence Science and Technology Organisation, Salisbury
 PO Box 1500 Salisbury South Australia 5108
--------------52C9B151EBB798F2EDC3A995
Content-Type: text/plain; charset=us-ascii;
 name="FUZZ"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="FUZZ"

# $FreeBSD: FUZZ,v 5.5 2000/05/30 10:59:00 +09:30 thyerm Exp $
# based on $FreeBSD: src/sys/i386/conf/LINT,v 1.775 2000/05/22 15:00:40 dan Exp $
machine		i386
ident		"FUZZ"
maxusers	64
options		INCLUDE_CONFIG_FILE	# Include this file in kernel
cpu		I686_CPU
options		CPU_FASTER_5X86_FPU
options		NO_F00F_HACK
# COMPATIBILITY OPTIONS
options		COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options		USER_LDT		# Let processes manipulate their local descriptor table (needed for WINE)
options		SYSVSHM			# Enable SYSV style shared memory
options		SYSVSEM			# Enable SYSV style semaphores
options		SYSVMSG			# Enable SYSV style message queues
options		SHM_PHYS_BACKED
options		SHMALL=16384
options		SHMMAXPGS=4096
options		SHMMAX="(SHMMAXPGS*PAGE_SIZE+1)"
options		SHMSEG=50
options		SHMMNI=64
options		SEMMNI=32
options		SEMMNS=128
# DEBUGGING OPTIONS
#options		DDB			# Enable the kernel debugger
options		KTRACE			# kernel tracing (SVR4 emul needs this)
options		UCONSOLE		# Allow users to grab the console
options		USERCONFIG		# boot -c editor
options		VISUAL_USERCONFIG	# visual boot -c editor
# NETWORKING OPTIONS
options		INET			# Internet communications protocols
# Network interfaces:
pseudo-device	ether			# Generic Ethernet
pseudo-device	loop			# Network loopback device
#pseudo-device	tun			# Tunnel driver (user ppp requirement)
# FILESYSTEM OPTIONS
options		FFS			# Berkeley Fast Filesystem
options		FFS_ROOT		# FFS usable as root device
options		NFS			# Network Filesystem
options		MFS			# Memory Filesystem
options		CD9660			# ISO 9660 Filesystem
options		PROCFS			# Process Filesystem
options		MSDOSFS			# MSDOS Filesystem
options		NSWAPDEV=4		# Allow this many swap-devices
options		SOFTUPDATES		# Allow FFS to use Softupdates tech
options		NCP			# NetWare Core protocol
options		NWFS			# NetWare filesystem
options		P1003_1B
options		_KPOSIX_PRIORITY_SCHEDULING
options		_KPOSIX_VERSION=199309L
options		VFS_AIO			# Real aio_* system calls
# MISCELLANEOUS DEVICES AND OPTIONS
pseudo-device	pty			# Pseudo ttys
pseudo-device	vn			# Vnode (turns a file into a device)
pseudo-device	bpf			# Berkeley packet filter
options		MSGBUF_SIZE=40960	# Size of the kernel message buffer.  Should be N * pagesize.
options		COMPAT_LINUX		# Linux image activator in kernel (instead of module)
# HARDWARE DEVICE CONFIGURATION
device		isa
options		AUTO_EOI_1		# Save 0.7-1.25 usec for each interrupt
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1
device		psm0	at atkbdc? irq 12
device		vga0	at isa?
device		sc0	at isa?
options		MAXCONS=12		# Number of virtual consoles
options		SC_HISTORY_SIZE=400	# Number of history buffer lines
options		SC_DISABLE_REBOOT	# Disable Ctrl-Alt-Del reboot
options		SC_NORM_ATTR="(FG_GREEN|BG_BLACK)"
options		SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)"
options		SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)"
options		SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)"
options		VESA
pseudo-device	splash
device		npx0	at nexus? port IO_NPX flags 0x0 irq 13
options		ATA_ENABLE_ATAPI_DMA
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		miibus
device		aha0	at isa? port 0x234
device		ahc0
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		pcm
device		sbc
device		pci
device		xl
device		apm0	at nexus?
device		smbus			# SMBus system
device		intpm			# PIIX4 interface
device		smb			# User access to the SMBus
device		ppc0	at isa? irq 7
device		ppbus
device		lpt
options		BOOTP
options		BOOTP_COMPAT
# SCSI DEVICE CONFIGURATION
options		SCSI_DELAY=300		# Only wait 0.3 seconds for SCSI
device		scbus0 at aha0
device		da0 at scbus0 target 0
device		da1 at scbus0 target 1
device		da2 at scbus0 target 2
device		da3 at scbus0 target 3
device		da4 at scbus0 target 4
device		da5 at scbus0 target 5
device		da6 at scbus0 target 6
device		scbus1 at ahc0
device		da10 at scbus1 target 0
device		da11 at scbus1 target 1
device		da12 at scbus1 target 2
device		da13 at scbus1 target 3
device		da14 at scbus1 target 4
device		da15 at scbus1 target 5
device		da16 at scbus1 target 6
device		da18 at scbus1 target 8
device		da19 at scbus1 target 9
device		da20 at scbus1 target 10
device		da21 at scbus1 target 11
device		da22 at scbus1 target 12
device		da23 at scbus1 target 13
device		da24 at scbus1 target 14
device		da25 at scbus1 target 15

--------------52C9B151EBB798F2EDC3A995--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?393F3014.448D2A8C>