NetBSD Problem Report #43633
From cheusov@tut.by Sun Jul 18 08:58:02 2010
Return-Path: <cheusov@tut.by>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id C08FD63BAFE
for <gnats-bugs@gnats.netbsd.org>; Sun, 18 Jul 2010 08:58:01 +0000 (UTC)
Message-Id: <871vb1chm2.fsf@asrock.chizhovka.net>
Date: Sun, 18 Jul 2010 11:35:33 +0300
From: cheusov@tut.by
To: gnats-bugs@gnats.NetBSD.org
Subject: multimedia/libdv fails to build on SunOS [patch]
X-Send-Pr-Version: 3.95
>Number: 43633
>Category: pkg
>Synopsis: multimedia/libdv fails to build on SunOS [patch]
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 18 09:00:00 +0000 2010
>Closed-Date: Sun Jul 18 09:53:51 +0000 2010
>Last-Modified: Sun Jul 18 09:53:51 +0000 2010
>Originator: Aleksey Cheusov
>Release: NetBSD 5.1_RC3
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #1: Mon Jun 28 00:06:07 EEST 2010 cheusov@asrock.chizhovka.net:/srv/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
Build of multimedia/libdv on OpenSolaris ends like this
Text relocation remains referenced
against symbol offset in file
.data (section) 0x111 .libs/vlc_x86.o
.data (section) 0x290 .libs/vlc_x86.o
.data (section) 0x2f2 .libs/vlc_x86.o
...
vlc_encode_lookup 0x1c .libs/encode_x86.o
vlc_num_bits_lookup 0xb6 .libs/encode_x86.o
dv_parse_ac_coeffs_pass0 0x469 .libs/vlc_x86.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
*** Error code 1
>How-To-Repeat:
>Fix:
Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libdv/Makefile.common,v
retrieving revision 1.11
diff -u -r1.11 Makefile.common
--- Makefile.common 3 Mar 2010 08:44:38 -0000 1.11
+++ Makefile.common 18 Jul 2010 08:31:00 -0000
@@ -24,7 +24,8 @@
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "Darwin") || empty(MACHINE_PLATFORM:M*-*-i386) || (${OPSYS} == "Interix")
+.if (${OPSYS} == "Darwin") || empty(MACHINE_PLATFORM:M*-*-i386) || \
+ (${OPSYS} == "Interix") || (${OPSYS} == "SunOS")
CONFIGURE_ARGS+= --disable-asm
.endif
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/43633 CVS commit: pkgsrc/multimedia/libdv
Date: Sun, 18 Jul 2010 09:49:46 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Sun Jul 18 09:49:46 UTC 2010
Modified Files:
pkgsrc/multimedia/libdv: Makefile.common
Log Message:
Disable assembler on SunOS, linking fails;
per Aleksey Cheusov in PR 43633.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/multimedia/libdv/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 18 Jul 2010 09:53:51 +0000
State-Changed-Why:
Committed, thanks!
>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.