Your message dated Mon, 29 Aug 2011 10:16:12 +0200
with message-id <[email protected]>
and subject line Re: nvidia driver built with binutils-gold on 2.6.37.3 
displays        black screen
has caused the Debian Bug report #617391,
regarding nvidia driver built with binutils-gold on 2.6.37.3 displays black 
screen
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
617391: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617391
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: binutils-gold
Version: 2.21.0.20110302-1
Severity: important
Tags: upstream

Hello. I installed binutils-gold this morning (alongside the recent gcc 4.5
upgrade), and set about compiling a new 2.6.37.3 kernel (I can attach the
..config if you think there's anything relevant there). It linked and booted
fine. I then built the 260.19.44 NVIDIA kernel module, which similarly linked
and loaded without problems. Upon starting X, however, I get nothing but an
unzappable black screen. This extended back over several versions of the
driver, and to pristine 2.6.37. Removing binutils-gold and rebuilding 2.6.37.3
+ 260.19.44 generated wholly working objects.

Let me know what I can provide to assist. Thanks!



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.37.3 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages binutils-gold depends on:
ii  binutils               2.21.0.20110302-1 The GNU assembler, linker and bina

binutils-gold recommends no packages.

binutils-gold suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 270.41.19-1

On 2011-08-28 01:59, Jonathan Nieder wrote:
> nick black wrote:
>> Hello. I installed binutils-gold this morning (alongside the recent gcc 4.5
>> upgrade), and set about compiling a new 2.6.37.3 kernel (I can attach the
>> ..config if you think there's anything relevant there). It linked and booted
>> fine. I then built the 260.19.44 NVIDIA kernel module, which similarly linked
>> and loaded without problems. Upon starting X, however, I get nothing but an
>> unzappable black screen. This extended back over several versions of the
>> driver, and to pristine 2.6.37. Removing binutils-gold and rebuilding 
>> 2.6.37.3
>> + 260.19.44 generated wholly working objects.
>>
>> Let me know what I can provide to assist. Thanks!
> 
> That very well might be a binutils-gold bug, but it's not currently phrased
> as one.  The kernel module could be making incorrect assumptions about
> the layout of the object file, for example.
> 
> Hence reassigning.  Please feel free to reassign back once it is clear
> how gold is misbehaving.

I tried to debug this issue earlier this year and found the module
produced by ld.gold a bit "smaller", missing a few relocation targets in
the .rodata section, probably due to "duplicate constant elimination".
I assume it's an upstream bug of misusing some values declared as
constant for r/w variables, so duplicate elimination causes different
variables to clash by using the same memory location.
I've been working around this problem by explicitly linking with ld.bfd
since then (kernel module source is patched).

Andreas


--- End Message ---

Reply via email to