Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 23:22:56 GMT
From:      Dan Smith<dan@algenta.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/113139: sysutils/ucspi-tcp runtime crash on amd64 w/ fix
Message-ID:  <200705292322.l4TNMuEo056409@www.freebsd.org>
Resent-Message-ID: <200705292330.l4TNU4LS042584@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113139
>Category:       ports
>Synopsis:       sysutils/ucspi-tcp runtime crash on amd64 w/ fix
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 29 23:30:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dan Smith
>Release:        6.2-RELEASE
>Organization:
Algenta Technologies
>Environment:
FreeBSD tara.algenta.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007     root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64
>Description:
if the -O2 flag is passed to gcc, tcpserver will crash upon startup in dns_rcrw.c:92
>How-To-Repeat:
build sysutils/ucspi-tcp from ports on a amd64 with gcc 3.4.6, and run the tcpserver program.


[root@tara /usr/ports/sysutils/ucspi-tcp]# gcc -v
Using built-in specs.
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 3.4.6 [FreeBSD] 20060305
>Fix:
To fix on affected systems, change the "sysutils/ucspi-tcp/work/ucspi-tcp-0.88/conf-cc" 

from:
cc -O2 -fno-strict-aliasing -pipe

to:
cc -fno-strict-aliasing -pipe



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705292322.l4TNMuEo056409>