NetBSD Problem Report #50351
From www@NetBSD.org Wed Oct 21 13:11:20 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 0FDD7A567D
for <gnats-bugs@gnats.NetBSD.org>; Wed, 21 Oct 2015 13:11:20 +0000 (UTC)
Message-Id: <20151021131118.BEE1DA6562@mollari.NetBSD.org>
Date: Wed, 21 Oct 2015 13:11:18 +0000 (UTC)
From: tlaronde@polynum.com
Reply-To: tlaronde@polynum.com
To: gnats-bugs@NetBSD.org
Subject: xf86-video-ati-6.14.6 failure due to missing functions (PLT)
X-Send-Pr-Version: www-1.0
>Number: 50351
>Category: pkg
>Synopsis: xf86-video-ati-6.14.6 failure due to missing functions (PLT)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: joerg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 21 13:15:00 +0000 2015
>Closed-Date: Tue Oct 13 04:24:51 +0000 2020
>Last-Modified: Tue Oct 13 04:24:51 +0000 2020
>Originator: Thierry LARONDE
>Release: pkgsrc-2015Q3
>Organization:
>Environment:
NetBSD 6.1.5 amd64
>Description:
Alignment macro definitions (or functions; it depends on version) were removed from xorg/compiler.h but are still used by the ati6 driver.
>How-To-Repeat:
Make, install, and start X with this very driver... (it won't, complaining about missing PLT symbol ldl_u
>Fix:
The modification below is sufficient for an amd64 but it would probably be better to add a copy of xorg-server 1.4.2 compiler.h since there are conditionnals (on systems and machines) :
--- src/AtomBios/CD_Operations.c 2015-10-20 17:24:42.000000000 +0200
+++ src/AtomBios/CD_Operations.c 2015-10-20 17:18:03.000000000 +0200
@@ -43,6 +43,9 @@
#include <X11/Xos.h>
#include "xorg-server.h"
#include "compiler.h"
+#define ldl_u(p) (*((unsigned int *)(p)))
+#define ldw_u(p) (*((unsigned short *)(p)))
+#define stl_u(v,p) (*(unsigned int *)(p)) = (v)
#include "Decoder.h"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Sun, 25 Oct 2015 19:42:05 +0000
Responsible-Changed-Why:
Over to maintainer.
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 13 Oct 2020 04:24:51 +0000
State-Changed-Why:
Stale bug report. xf86-video-ati6 exists purely for compat support (not sure if anyone's tested it since), and there's a *much* newer xf86-video-ati (version 19.1.0) which should work with recent xorg.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.