Subject: Re: pkg/30999: mail/procmail hung for years
To: None <kim@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-bugs
Date: 08/16/2005 15:56:02
The following reply was made to PR pkg/30999; it has been noted by GNATS.

From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: Huajian.luo@Sun.COM
Subject: Re: pkg/30999: mail/procmail hung for years
Date: Tue, 16 Aug 2005 08:55:24 -0700 (PDT)

 On Tue, 16 Aug 2005 Huajian.luo@Sun.COM wrote:
 
 > Benchmarking your system's strstr() implementation
 > ----hung at here.....
 
 I see that FreeBSD ports had same issue reported:
   http://www.FreeBSD.org/cgi/query-pr.cgi?pr=74276
 
 "Submitter says it was due to the use of -O3 in CFLAGS."
 
 And the Gentoo ebuild says:
 # -finline-functions (implied by -O3) leaves strstr() in an infinite loop.
 # To work around this, we append -fno-inline-functions to CFLAGS
          append-flags -fno-inline-functions
 
 
 Maybe try in the pkgsrc/mail/procmail/Makefile:
 
 CFLAGS+=	-finline-functions
 
   Jeremy C. Reed
 
   	  	 	 BSD News, BSD tutorials, BSD links
  	  	 	 http://www.bsdnewsletter.com/