pkgsrc-Bugs archive

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

pkg/34047: bsd.own.mk.in



>Number:         34047
>Category:       pkg
>Synopsis:       bsd.own.mk.in
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 21 08:40:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:



let me know why thoses lines in bsd.own.mk.in:

.if ${MACHINE_ARCH} == "x86_64"
CFLAGS+=-Wno-format -fno-builtin
.endif

that's is a problem when compiling some packages (gmake) whith solaris
gcc compiler.

the 'alloca' func is very system/compiler dependent , in Solaris
alloca is not a libc func. The gmake package does not link with this options.
and works fine whithout.

By the past I silently patch bsd.own.mk.in (no PR), but now it's time.

Thanks for an answer.
Maybe a patch like :

.if ${MACHINE_ARCH} == "x86_64" && ${OPSYS} != "SunOS"

will works


>How-To-Repeat:


bmake in gmake


>Fix:


change to

.if ${MACHINE_ARCH} == "x86_64" && ${OPSYS} != "SunOS"
CFLAGS+=-Wno-format -fno-builtin
.endif





Home | Main Index | Thread Index | Old Index