if the -O2 flag is passed to gcc, tcpserver will crash upon startup in dns_rcrw.c:92 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 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
State Changed From-To: open->feedback Awaiting maintainers feedback
State Changed From-To: feedback->open Maintainer was reset.
Hi Dan, I don't have access to an amd64 machine. If the problem still exists, could you try the attached patch for the port and let me know if it fixes the problem for you? Thanks and regards, Stefan
Responsible Changed From-To: freebsd-ports-bugs->stefan Take.
Hi Stefan, I have tested your patch to the Makefile on our AMD64 machines, and it does correct the problem. Thanks for looking into this! Cheers, Dan Stefan Walter wrote: > Hi Dan, > > I don't have access to an amd64 machine. If the problem still exists, > could you try the attached patch for the port and let me know if it fixes > the problem for you? > > Thanks and regards, > Stefan > -- Dan Smith +1 608-213-2867 Algenta Technologies, LLC http://www.algenta.com
stefan 2007-10-05 16:36:46 UTC FreeBSD ports repository Modified files: sysutils/ucspi-tcp Makefile Log: Restrict optimization to -O - -O2 causes problems at least on amd64. PR: 113139 Submitted by: Dan Smith<dan@algenta.com> Revision Changes Path 1.29 +2 -0 ports/sysutils/ucspi-tcp/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Fix committed, thanks!