Bug 550858 - section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
Summary: section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: elfutils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-27 19:30 UTC by Robert Scheck
Modified: 2010-01-28 00:49 UTC (History)
3 users (show)

Fixed In Version: 0.144-1.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-28 00:49:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2009-12-27 19:30:01 UTC
Description of problem:
Rebuilding elfutils-0.143-1 in Rawhide on my local system fails somehow with
the following messages in %check:

--- snipp ---
PASS: run-elflint-test.sh
unsupported OS ABI e_ident[7] == 'Linux'
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/addr2line
unsupported OS ABI e_ident[7] == 'Linux'
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/elfcmp
unsupported OS ABI e_ident[7] == 'Linux'
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/elflint
unsupported OS ABI e_ident[7] == 'Linux'
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/findtextrel
unsupported OS ABI e_ident[7] == 'Linux'
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/ld
unsupported OS ABI e_ident[7] == 'Linux'
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/nm
unsupported OS ABI e_ident[7] == 'Linux'
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/objdump
unsupported OS ABI e_ident[7] == 'Linux'
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/readelf
unsupported OS ABI e_ident[7] == 'Linux'
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/size
unsupported OS ABI e_ident[7] == 'Linux'
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/strip
unsupported OS ABI e_ident[7] == 'Linux'
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../libelf/libelf.so
unsupported OS ABI e_ident[7] == 'Linux'
section [25] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../libdw/libdw.so
unsupported OS ABI e_ident[7] == 'Linux'
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../libasm/libasm.so
FAIL: run-elflint-self.sh
--- snapp ---

If I fire the rebuild via a Rawhide mock, this are not really better:

--- snapp ---
PASS: run-elflint-test.sh
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/addr2line
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/elfcmp
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/elflint
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/findtextrel
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/ld
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/nm
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/objdump
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/readelf
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/size
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../src/strip
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../libelf/libelf.so
section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../libdw/libdw.so
section [27] '.comment' has wrong flags: expected none, is MERGE|STRINGS
*** failure in ../libasm/libasm.so
FAIL: run-elflint-self.sh
--- snipp ---

Version-Release number of selected component (if applicable):
elfutils-0.143-1

How reproducible:
Everytime, see above.

Actual results:
Rawhide rebuild fails.

Expected results:
Rawhide rebuild shouldn't fail.

Comment 1 Mark Wielaard 2009-12-27 19:44:24 UTC
This has been fixed in upstream elfutils after the 0.143 release, but there has not been a new (0.144) release yet:

commit c49d00afc4bda21181cd4237e67930f3f5228adf
Author: Mark Wielaard <mjw>
Date:   Mon Sep 21 16:47:07 2009 -0700

    Handle new .comment section flags.
    
    Newer gcc+ld combinations use string merging in the .comment
    section.  Allow that in elflint.

Comment 2 Robert Scheck 2009-12-27 19:49:45 UTC
Mark, thanks for your feedback. Will this fix both errors,

  unsupported OS ABI e_ident[7] == 'Linux'

and

  section [26] '.comment' has wrong flags: expected none, is MERGE|STRINGS

or is this the same error?

Comment 3 Mark Wielaard 2009-12-27 20:05:43 UTC
  unsupported OS ABI e_ident[7] == 'Linux'

should be fixed by:

commit 96d950e3e28d89469b62b46d5a014ad1260e6a1a
Author: Ulrich Drepper <drepper>
Date:   Tue Jul 14 10:42:01 2009 -0700

    Add STB_GNU_UNIQUE support to elflint.

Which is part of elfutils 0.143.

Are you sure the system you are seeing this error on has elfutils 0.143?

Comment 4 Robert Scheck 2009-12-27 20:24:12 UTC
You're of course totally right. Once I've updated my elfutils to 0.143 it's
only the .comment messages now.

Comment 5 Fedora Update System 2010-01-15 09:31:20 UTC
elfutils-0.144-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/elfutils-0.144-1.fc12

Comment 6 Fedora Update System 2010-01-15 09:31:34 UTC
elfutils-0.144-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/elfutils-0.144-1.fc11

Comment 7 Fedora Update System 2010-01-15 22:06:34 UTC
elfutils-0.144-1.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update elfutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2010-0583

Comment 8 Fedora Update System 2010-01-15 22:09:03 UTC
elfutils-0.144-1.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update elfutils'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0605

Comment 9 Fedora Update System 2010-01-28 00:49:06 UTC
elfutils-0.144-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-01-28 00:49:36 UTC
elfutils-0.144-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


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