Bug#659579: fglrx-source: Building kernel module conficts with binutils-gold package

2012-02-19 Thread Andreas Beckmann
On 2012-02-12 19:50, Michael Gilbert wrote:
>>> I had binutils-gold packages installed and this was the reason that kernel 
>>> module failed to build on my machine.
>>
>> Could you please send us the build log?

I just tested:
- The module builds fine with both ld.bfd and ld.gold.
- The module produced by gold is a bit smaller, most probably due to
removal of duplicate constants, e.g. strings.
- The module built with gold has not shown any bad behavior during my tests.

> We can just add a build-conflict to prevent people shooting themselves
> in the foot with this.

A Build-Conflicts won't help. A Conflicts would work, but will prevent
people from using ld.gold for other things. A patch to explicitly use
ld.bfd would be the solution (I needed this for NVIDIA which would not
work at all if built with gold), but I don't think we need it.

Andreas



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#659579: [Pkg-fglrx-devel] Bug#659579: Bug#659579: fglrx-source: Building kernel module conficts with binutils-gold package

2012-02-12 Thread Michael Gilbert
>> I had binutils-gold packages installed and this was the reason that kernel 
>> module failed to build on my machine.
>
> Could you please send us the build log?

We can just add a build-conflict to prevent people shooting themselves
in the foot with this.

MIke



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#659579: [Pkg-fglrx-devel] Bug#659579: fglrx-source: Building kernel module conficts with binutils-gold package

2012-02-12 Thread Patrick Matthäi

Am 12.02.2012 12:18, schrieb Max Dmitrichenko:
> Package: fglrx-source
> Version: 1:12-1-1~bpo60+1
> Severity: serious
> Justification: fails to build from source
> 
> I had binutils-gold packages installed and this was the reason that kernel 
> module failed to build on my machine.

Could you please send us the build log?


-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatth...@debian.org
patr...@linux-dev.org
*/



signature.asc
Description: OpenPGP digital signature


Bug#659579: fglrx-source: Building kernel module conficts with binutils-gold package

2012-02-12 Thread Max Dmitrichenko
Package: fglrx-source
Version: 1:12-1-1~bpo60+1
Severity: serious
Justification: fails to build from source

I had binutils-gold packages installed and this was the reason that kernel 
module failed to build on my machine.

-- Package-specific info:
VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: ATI Technologies Inc Device 68ba

DRM and fglrx Informations from dmesg:
[0.00] No AGP bridge found
[0.381979] Linux agpgart interface v0.103
[ 2147.075957] [fglrx] Maximum main memory to use for locked dma buffers: 7771 
MBytes.
[ 2147.076077] [fglrx]   vendor: 1002 device: 68ba count: 1
[ 2147.076565] [fglrx] ioport: bar 4, base 0xde00, size: 0x100
[ 2147.076984] [fglrx] Kernel PAT support is enabled
[ 2147.077000] [fglrx] module loaded - fglrx 8.93.4 [Dec  5 2011] with 1 minors
[ 2147.289792] fglrx_pci :01:00.0: irq 26 for MSI/MSI-X
[ 2147.290297] [fglrx] Firegl kernel thread PID: 20316
[ 2147.290345] [fglrx] Firegl kernel thread PID: 20317
[ 2147.290390] [fglrx] Firegl kernel thread PID: 20318
[ 2147.290469] [fglrx] IRQ 26 Enabled
[ 2147.379449] [fglrx] Gart USWC size:1280 M.
[ 2147.379452] [fglrx] Gart cacheable size:508 M.
[ 2147.379456] [fglrx] Reserved FB block: Shared offset:0, size:100 
[ 2147.379458] [fglrx] Reserved FB block: Unshared offset:f8fd000, size:403000 
[ 2147.379460] [fglrx] Reserved FB block: Unshared offset:3fff4000, size:c000 
[ 8429.318387] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[ 8429.326881] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[ 8429.335106] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[49696.005410] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[161199.552175] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[161199.559359] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[162970.184682] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[223202.704421] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[223214.981467] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[223503.733455] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64
[223528.350521] Assertion failed in 
../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 
64

Xorg X server configuration file status:
-rw-r--r-- 1 root root 684 Feb  9 23:55 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen  0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[0]-0"
Option  "VendorName" "ATI Proprietary Driver"
Option  "ModelName" "Generic Autodetecting Monitor"
Option  "DPMS" "true"
EndSection

Section "Device"
Identifier  "aticonfig-Device[0]-0"
Driver  "fglrx"
BusID   "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor"aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport   0 0
Depth 24
EndSubSection
EndSection



Xorg X server log files on system:
-rw-r--r-- 1 root root 16748 Oct  2  2010 /var/log/Xorg.3.log
-rw-r--r-- 1 root root 28129 Dec 17  2010 /var/log/Xorg.2.log
-rw-r--r-- 1 root root 48147 Feb 12 13:25 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 44469 Feb 12 13:25 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-1-amd64 x86_64 Debian
Current Operating System: Linux cuprum 2.6.32-5-amd64 #1 SMP Mon Jan 16 
16:22:28 UTC 2012 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-5-amd64 
root=UUID=b4bd038d-bc4c-4c24-bb57-c696cc6f17b5 ro
Build Date: 29 October 2011  06:58:14PM
xorg-server 2:1.7.7-14 (Julien Cristau ) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Feb 12 13:23:24 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) ServerL