pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38484: pkgsrc pixman-0.10.0 is using non-portable gcc option



>Number:         38484
>Category:       pkg
>Synopsis:       pkgsrc pixman-0.10.0 is using non-portable gcc option
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 23 04:00:00 +0000 2008
>Originator:     SODA Noriyuki
>Release:        NetBSD 3.1
>Organization:
>Environment:
System: NetBSD srapc2586.sra.co.jp 3.1 NetBSD 3.1 (SRAPC2586) #0: Mon Jun 26 
01:32:50 JST 2006 
soda%srapc2586.sra.co.jp@localhost:/usr/prj/src/NetBSD/netbsd-3/src/sys/arch/i386/compile/SRAPC2586
 i386
Architecture: i386
Machine: i386
>Description:

building pixman fails with the following error on i386:

cc -DHAVE_CONFIG_H -I. -I.. -mmmx -msse2 -Winline --param 
inline-unit-growth=10000 --param large-function-growth=10000 -O2 -Wall -MT 
libpixman_sse_la-pixman-sse.lo -MD -MP -MF 
.deps/libpixman_sse_la-pixman-sse.Tpo -c pixman-sse.c  -fPIC -DPIC -o 
.libs/libpixman_sse_la-pixman-sse.o
cc1: error: invalid parameter `inline-unit-growth'
cc1: error: invalid parameter `large-function-growth'

>How-To-Repeat:

do the following on i386 machines without recent gcc:
cd /usr/pkgsrc/x11/pixman && make

>Fix:

either

1. remove "--param inline-unit-growth=10000 --param large-function-growth=10000"
  from configure.ac, and rebuild the configure script.
  note that both MMX_CFLAGS and SSE_CFLAGS must be fixed in configure.ac

or

2. check whether gcc supports those --param options before adding the options
  to MMX_CFLAGS and SSE_CFLAGS.



Home | Main Index | Thread Index | Old Index