NetBSD Problem Report #19946
Received: (qmail 19431 invoked by uid 605); 20 Jan 2003 08:57:51 -0000
Message-Id: <20030120085748.F1C461D101@otaku.Xtrmntr.org>
Date: Mon, 20 Jan 2003 09:57:48 +0100 (CET)
From: Lubomir Sedlacik <salo@Xtrmntr.org>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: salo@Xtrmntr.org
To: gnats-bugs@gnats.netbsd.org
Subject: mplayer-0.90rc13 doesn't build
X-Send-Pr-Version: 3.95
>Number: 19946
>Category: pkg
>Synopsis: mplayer-0.90rc13 doesn't build
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: fredb
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 20 08:58:00 +0000 2003
>Closed-Date: Tue Jan 21 13:53:35 +0000 2003
>Last-Modified: Tue Jan 21 13:53:35 +0000 2003
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.6K
>Organization:
>Environment:
System: NetBSD 1.6K #0: Thu Dec 26 07:37:55 CET 2002
Architecture: i386
Machine: i386
>Description:
recently upgraded mplayer package (mplayer-0.90rc13) doesn't build.
...
cc -c -I/usr/pkg/include -I/usr/X11R6/include -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -o imdct.o imdct.c
imdct.c:59: warning: alignment of `pm128' is greater than maximum object file alignment. Using 4.
imdct.c:106: warning: alignment of `ps111_1' is greater than maximum object file alignment. Using 4.
imdct.c:114: warning: alignment of `sseW' is greater than maximum object file alignment. Using 4.
imdct.c:129: warning: alignment of `w' is greater than maximum object file alignment. Using 4.
In file included from imdct.c:726:
srfftp.h:35: warning: alignment of `delta16' is greater than maximum object file alignment. Using 4.
srfftp.h:41: warning: alignment of `delta16_3' is greater than maximum object file alignment. Using 4.
srfftp.h:47: warning: alignment of `delta32' is greater than maximum object file alignment. Using 4.
srfftp.h:57: warning: alignment of `delta32_3' is greater than maximum object file alignment. Using 4.
srfftp.h:67: warning: alignment of `delta64' is greater than maximum object file alignment. Using 4.
srfftp.h:85: warning: alignment of `delta64_3' is greater than maximum object file alignment. Using 4.
srfftp.h:103: warning: alignment of `delta128' is greater than maximum object file alignment. Using 4.
srfftp.h:137: warning: alignment of `delta128_3' is greater than maximum object file alignment. Using 4.
imdct.c:733: warning: alignment of `x_plus_minus_3dnow' is greater than maximum object file alignment. Using 4.
imdct.c:734: warning: alignment of `x_minus_plus_3dnow' is greater than maximum object file alignment. Using 4.
imdct.c:735: warning: alignment of `HSQRT2_3DNOW' is greater than maximum object file alignment. Using 4.
In file included from imdct.c:738:
imdct_3dnow.h: In function `fft_asmb_3dnow':
imdct_3dnow.h:241: Invalid `asm' statement:
imdct_3dnow.h:241: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `fft_asmb16_3dnow':
imdct_3dnow.h:267: Invalid `asm' statement:
imdct_3dnow.h:267: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `imdct_do_512_3dnow':
imdct_3dnow.h:376: Invalid `asm' statement:
imdct_3dnow.h:376: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
In file included from imdct.c:740:
imdct_3dnow.h: In function `fft_asmb_3dnowex':
imdct_3dnow.h:241: Invalid `asm' statement:
imdct_3dnow.h:241: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `fft_asmb16_3dnowex':
imdct_3dnow.h:267: Invalid `asm' statement:
imdct_3dnow.h:267: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct_3dnow.h: In function `imdct_do_512_3dnowex':
imdct_3dnow.h:376: Invalid `asm' statement:
imdct_3dnow.h:376: fixed or forbidden register 6 (bp) was spilled for class GENERAL_REGS.
imdct.c: At top level:
imdct.c:103: warning: alignment of `buf' is greater than maximum object file alignment. Using 4.
imdct.c:104: warning: alignment of `sseSinCos1c' is greater than maximum object file alignment. Using 4.
imdct.c:105: warning: alignment of `sseSinCos1d' is greater than maximum object file alignment. Using 4.
imdct.c:108: warning: alignment of `sseW1' is greater than maximum object file alignment. Using 4.
imdct.c:109: warning: alignment of `sseW2' is greater than maximum object file alignment. Using 4.
imdct.c:110: warning: alignment of `sseW3' is greater than maximum object file alignment. Using 4.
imdct.c:111: warning: alignment of `sseW4' is greater than maximum object file alignment. Using 4.
imdct.c:112: warning: alignment of `sseW5' is greater than maximum object file alignment. Using 4.
imdct.c:113: warning: alignment of `sseW6' is greater than maximum object file alignment. Using 4.
imdct.c:116: warning: alignment of `sseWindow' is greater than maximum object file alignment. Using 4.
imdct.c:122: warning: alignment of `w_1' is greater than maximum object file alignment. Using 4.
imdct.c:123: warning: alignment of `w_2' is greater than maximum object file alignment. Using 4.
imdct.c:124: warning: alignment of `w_4' is greater than maximum object file alignment. Using 4.
imdct.c:125: warning: alignment of `w_8' is greater than maximum object file alignment. Using 4.
imdct.c:126: warning: alignment of `w_16' is greater than maximum object file alignment. Using 4.
imdct.c:127: warning: alignment of `w_32' is greater than maximum object file alignment. Using 4.
imdct.c:128: warning: alignment of `w_64' is greater than maximum object file alignment. Using 4.
imdct.c:132: warning: alignment of `xcos1' is greater than maximum object file alignment. Using 4.
imdct.c:133: warning: alignment of `xsin1' is greater than maximum object file alignment. Using 4.
imdct.c:134: warning: alignment of `xcos2' is greater than maximum object file alignment. Using 4.
imdct.c:135: warning: alignment of `xsin2' is greater than maximum object file alignment. Using 4.
gmake[1]: *** [imdct.o] Error 1
gmake[1]: Leaving directory `/var/tmp/pkgsrc/graphics/mplayer/work/MPlayer-0.90rc3/liba52'
gmake: *** [liba52/liba52.a] Error 2
*** Error code 2
Stop.
make: stopped in /cvs/pkgsrc/graphics/mplayer
*** Error code 1
Stop.
make: stopped in /cvs/pkgsrc/graphics/mplayer
full build log is at: http://Xtrmntr.org/salo/mplayer-0.90rc13-build.txt
>How-To-Repeat:
cd pkgsrc/graphics/mplayer && make
>Fix:
n/a
>Release-Note:
>Audit-Trail:
From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: Re: pkg/19946: mplayer-0.90rc13 doesn't build
Date: Mon, 20 Jan 2003 10:37:25 +0100
NOTE: after double checking everything i realized that i had
MPLAYER_ENABLE_RUNTIME_CPU_DETECTION=NO in /etc/mk.conf.
when it's set to YES it builds.
--
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
From: fredb@immanent.net (Frederick Bruckman)
To: salo@Xtrmntr.org
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/19946: mplayer-0.90rc13 doesn't build
Date: Mon, 20 Jan 2003 15:11:13 -0600 (CST)
In article <20030120085748.F1C461D101@otaku.xtrmntr.org>,
salo@Xtrmntr.org (Lubomir Sedlacik) writes:
>
> recently upgraded mplayer package (mplayer-0.90rc13) doesn't build.
Hi,
This is with MPLAYER_ENABLE_RUNTIME_CPU_DETECTION=NO?
Frederick
From: Frederick Bruckman <fredb@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: pr/19946 CVS commit: pkgsrc/graphics
Date: Tue, 21 Jan 2003 00:42:40 +0200 (EET)
Module Name: pkgsrc
Committed By: fredb
Date: Mon Jan 20 22:42:40 UTC 2003
Modified Files:
pkgsrc/graphics/gmplayer: Makefile
pkgsrc/graphics/mencoder: Makefile
pkgsrc/graphics/mplayer: Makefile
pkgsrc/graphics/mplayer-share: Makefile.cflags
Log Message:
The ${CFLAGS} fix-up in Makefile.cflags must come after everything, even
bsd.pkg.mk, to completely master all CFLAGS settings. This fixes the build
in the MPLAYER_ENABLE_RUNTIME_CPU_DETECTION=NO case (PR pkg/19946).
This isn't the only way this package wantonly disregards buildlink's rule.
In any case, binary packages are still problematic, even with the runtime
detection, as one of the dependencies (audio/faad2) may not be distributed
as a binary.
To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 pkgsrc/graphics/gmplayer/Makefile
cvs rdiff -r1.5 -r1.6 pkgsrc/graphics/mencoder/Makefile
cvs rdiff -r1.29 -r1.30 pkgsrc/graphics/mplayer/Makefile
cvs rdiff -r1.1 -r1.2 pkgsrc/graphics/mplayer-share/Makefile.cflags
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: fredb
State-Changed-When: Mon Jan 20 16:43:48 CST 2003
State-Changed-Why:
Please see if today's updates have fixed the problem for you.
I blundered, and the no-runtime-detection case was getting no
optimizations at all (-O0). I still don't quite understand why
that causes the build to fail, but I have tested with a 1.6K
system, i686, kernel built around the same time as yours, and
it seems to be OK now.
Responsible-Changed-From-To: pkg-manager->fredb
Responsible-Changed-By: fredb
Responsible-Changed-When: Mon Jan 20 16:43:48 CST 2003
Responsible-Changed-Why:
I did it.
From: Lubomir Sedlacik <salo@Xtrmntr.org>
To: Frederick Bruckman <fredb@immanent.net>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/19946: mplayer-0.90rc13 doesn't build
Date: Tue, 21 Jan 2003 08:19:47 +0100
--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
the last change fixed that. thanks!
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+LPSTiwjDDlS8cmMRAsrfAJ0TXo4Fg7RqAFfu6Y0aweHZCyVsZwCfSpHf
E89UuFb8v0qiPRDnoefeOW0=
=t6pZ
-----END PGP SIGNATURE-----
--qMm9M+Fa2AknHoGS--
State-Changed-From-To: feedback->closed
State-Changed-By: fredb
State-Changed-When: Tue Jan 21 07:53:18 CST 2003
State-Changed-Why:
fixed
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.