Bug 227354 - Cannot prelink emacs
Cannot prelink emacs
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: emacs (Show other bugs)
7
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chip Coldwell
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-05 11:03 EST by Daniel Qarras
Modified: 2013-03-05 04:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-01 12:00:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Qarras 2007-02-05 11:03:43 EST
Fedora Core 6 with all available updates seems to fail to prelink emacs with
this error:

Prelinking /usr/bin/emacs-21.4-x
prelink: /usr/bin/emacs-21.4-x: COPY relocations don't point into .bss or .sbss
section

Please consider avoiding the error message.
Comment 1 Chip Coldwell 2007-02-05 11:23:17 EST
(In reply to comment #0)
> Fedora Core 6 with all available updates seems to fail to prelink emacs with
> this error:
> 
> Prelinking /usr/bin/emacs-21.4-x
> prelink: /usr/bin/emacs-21.4-x: COPY relocations don't point into .bss or .sbss
> section
> 
> Please consider avoiding the error message.

I'm not sure that this is a bug.  It's probably an inevitable result of the
dumping (unexec) process that happens when you build emacs.

Chip


Comment 2 Daniel Qarras 2007-06-01 11:57:36 EDT
FWIW, this problem still exists in Fedora 7:

Prelinking /usr/bin/emacs-x
prelink: /usr/bin/emacs-x: COPY relocations don't point into .bss or .sbss section
Comment 3 Chip Coldwell 2007-06-01 12:00:39 EDT
(In reply to comment #2)
> FWIW, this problem still exists in Fedora 7:
> 
> Prelinking /usr/bin/emacs-x
> prelink: /usr/bin/emacs-x: COPY relocations don't point into .bss or .sbss section
> 

I'm still convinced that this is an inevitable side effect of the way the dumper
works.  It creates a new .data section in the dumped emacs from the .bss section
of the dumping emacs.  I don't think this can ever work.

Comment 4 Daniel Qarras 2007-06-06 13:38:55 EDT
Well, let me just point out that currently emacs-x is the only binary in the
default Fedora 7 install which cannot be prelinked.
Comment 5 Chip Coldwell 2007-06-06 16:16:51 EDT
(In reply to comment #4)
> Well, let me just point out that currently emacs-x is the only binary in the
> default Fedora 7 install which cannot be prelinked.

Sure, and it is also the only binary that is the output of an "unexec" dumper,
as we discovered in bug 239344.

Chip
Comment 6 David Tonhofer 2011-11-13 15:26:34 EST
Just got this in Red Hat Enterprise 5.6, when running prelink manually:

prelink: /usr/bin/emacs-x: COPY relocations don't point into .bss or .sbss section

The only error generated by prelink.

As they say in Half-Life, "Probably not a problem"

Note You need to log in before you can comment on or make changes to this bug.