Subject: pkg/36100: libogg-1.1.3 gcc412 sparc32
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 03/28/2007 15:05:00
>Number:         36100
>Category:       pkg
>Synopsis:       libogg-1.1.3 gcc412 sparc32
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 28 15:05:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 sparc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 sparc


>Description:


checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... no
checking for int16_t... no
checking for int32_t... no
checking for uint32_t... no
checking for uint16_t... no
checking for u_int32_t... no
checking for u_int16_t... no
checking for int64_t... no
checking for short... no
checking size of short... 0
checking for int... no
checking size of int... 0
checking for long... no
checking size of long... 0
checking for long long... no
checking size of long long... 0
configure: error: No 16 bit type found on this platform!
*** Error code 1



>How-To-Repeat:


bmake with gcc412 sparc


>Fix:


-mv8 is no more an option in gcc412

--- configure.orig      Mon Nov 28 05:26:32 2005
+++ configure   Wed Mar 28 16:57:17 2007
@@ -19100,9 +19100,9 @@
                 PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
                ;;
         sparc-sun-*)
-                DEBUG="-g -Wall -fsigned-char -mv8"
-                CFLAGS="-O20 -ffast-math -fsigned-char -mv8"
-                PROFILE="-pg -g -O20 -fsigned-char -mv8"
+                DEBUG="-g -Wall -fsigned-char"
+                CFLAGS="-O20 -ffast-math -fsigned-char"
+                PROFILE="-pg -g -O20 -fsigned-char"
                ;;
        *-*-darwin*)
                DEBUG="-fno-common -g -Wall -fsigned-char"