Bug 75223 - Update port: graphics/pixie 1.3.22 -> 1.3.25
Summary: Update port: graphics/pixie 1.3.22 -> 1.3.25
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-18 17:10 UTC by Igor Pokrovsky
Modified: 2004-12-27 10:11 UTC (History)
0 users

See Also:


Attachments
pixie.diff (730 bytes, patch)
2004-12-18 17:10 UTC, Igor Pokrovsky
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Pokrovsky 2004-12-18 17:10:29 UTC
Update to 1.3.25.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-12-22 08:44:05 UTC
State Changed
From-To: open->feedback

Ummm: 

c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -pipe -g -fPIC -I/usr/local/include -I/usr/X11R6/include -c stochastic.cpp  -fPIC -DPIC -o .libs/stochastic.lo 
stochastic.cpp: In method `void CStochastic::rasterDrawPrimitives(CReyes::CRasterGrid *)': 
stochastic.cpp:334: virtual memory exhausted 
*** Error code 1 

Stop in /usr/ports/graphics/pixie/work/Pixie/src/ri. 

pixie@menelaos [09:43:37]> swapinfo 
Device          1K-blocks     Used    Avail Capacity  Type 
/dev/ad0s1b       2081280    11488  2069792     1%    Interleaved 

This happens only with -O2, not with -O. Since the ports-infratstructure 
moved to -O2, this will cause problems.
Comment 2 Igor Pokrovsky 2004-12-22 20:47:06 UTC
On Wed, Dec 22, 2004 at 08:54:38AM +0000, Volker Stolz wrote:
> c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -O2 -pipe -g -fPIC -I/usr/local/include -I/usr/X11R6/include -c stochastic.cpp  -fPIC -DPIC -o .libs/stochastic.lo
> stochastic.cpp: In method `void CStochastic::rasterDrawPrimitives(CReyes::CRasterGrid *)':
> stochastic.cpp:334: virtual memory exhausted
> *** Error code 1

I see only one solution - to force "-O" option to compiler.

diff -ru pixie.orig/Makefile pixie/Makefile
--- pixie.orig/Makefile	Wed Dec 22 23:24:07 2004
+++ pixie/Makefile	Wed Dec 22 23:27:34 2004
@@ -26,8 +26,8 @@
 USE_AUTOCONF_VER=	213
 USE_LIBTOOL_VER=	13
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV=	CFLAGS="${CFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
-		CXXFLAGS="${CXXFLAGS} -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
+CONFIGURE_ENV=	CFLAGS="${CFLAGS} -O -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
+		CXXFLAGS="${CXXFLAGS} -O -fPIC -I${LOCALBASE}/include -I${X11BASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
 		LIBS="${PTHREAD_LIBS}"
 INSTALLS_SHLIB=	yes

-ip

-- 
The label "new" and/or "improved" means the price went up.
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2004-12-27 10:10:56 UTC
State Changed
From-To: feedback->closed

Committed, thanks!