pkgsrc-Bugs archive

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

pkg/41959: multimedia/ogle uses unknown compiler option (NetBSD 4.0)

>Number:         41959
>Category:       pkg
>Synopsis:       multimedia/ogle uses unknown compiler option (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 30 16:05:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        In rev 1.22 multimedia/ogle/Makefile changed the magic
        "go faster" option that was being passed to gcc.   Unfortunately
        the compiler in NetBSD 4.0 (which claims to be gcc 4.1.2)
        doesn't understand this option (or says it doesn't, the man
        page makes it appear as if it should, unless the problem is
        more subtle than I can see).

        This change was made back in early June, I didn't notice it
        as no revbump was done (though this would result in a different
        binary package) so I had no idea I was supposed to try rebuilding
        it - the revbump caused by the jpeg update finally made that

        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (that is, 4.0 as it was originally releases, no updates, except
        whatever pkgsrc installs itself).   No x* sets, pkgsrc modular
        xorg instead (but that's irrelevant here).

        With that environment, I see ...

mkdir .libs
"-Dinline=__attribute__ ((__always_inline__))" -DHAVE_SYS_BSWAP_H=1 
-DCONFIG_FILE=\"/usr/pkg/share/ogle/oglerc\" -DHAVE_MMX=1 -I. -I.. -I../include 
-fomit-frame-pointer -funroll-loops -O2 -Wall -O2 -Wall -march=i586 
-mschedule=pentiumpro -c msgevents.c -MT msgevents.lo -MD -MP -M!
 F .deps/msgevents.TPlo  -fPIC -DPIC -o .libs/msgevents.o
cc1: error: unrecognized command line option "-mschedule=pentiumpro"
gmake[1]: *** [msgevents.lo] Error 1
gmake[1]: Leaving directory 
gmake: *** [all-recursive] Error 1
*** Error code 2

make: stopped in /usr/pkgsrc/multimedia/ogle
*** Error code 1

        I have nothing relevant in mk.conf (no ogle specific options,
        nothing to alter default cc selection).

        ??   Go back to the previous option (which worked, at least).

Home | Main Index | Thread Index | Old Index