bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/13857] New: "WARNING: Absolute relocations present" compiling


From: doctorwhoguy at gmail dot com
Subject: [Bug gold/13857] New: "WARNING: Absolute relocations present" compiling Linux kernel using -Wl,--icf=safe
Date: Fri, 16 Mar 2012 03:19:50 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13857

             Bug #: 13857
           Summary: "WARNING: Absolute relocations present" compiling
                    Linux kernel using -Wl,--icf=safe
           Product: binutils
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
        AssignedTo: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden
    Classification: Unclassified


I compiled Linux kernel 3.2.9 with Gentoo and CK patches and used the Gold
linker 1.11 from binutils 2.22. I added additional linker flags to the Makefile
including -Wl,--icf=safe. After compiling, I saw the error message:

WARNING: Absolute relocations present
Offset     Info     Type     Sym.Value Sym.Name
c1029fa2 00950401   R_386_32 c15fe000  __init_end
c1029fa7 00950501   R_386_32 c1590000  __init_begin
c102a16b 00950401   R_386_32 c15fe000  __init_end
c1595bcd 00916701   R_386_32 c15fe000  __smp_locks_end
c1595bd2 00916801   R_386_32 c15fe000  __smp_locks
c15a098a 00950401   R_386_32 c15fe000  __init_end
c15a0990 00950501   R_386_32 c1590000  __init_begin
c15a0a5f 00950401   R_386_32 c15fe000  __init_end
c15a0a67 00950501   R_386_32 c1590000  __init_begin
c142fd48 009d0001   R_386_32 c15314b0  __start___ksymtab_gpl_future
c142fd4c 009d0101   R_386_32 c15314b0  __stop___ksymtab_gpl_future
c142fd50 009d0201   R_386_32 c1536640  __start___kcrctab_gpl_future

I removed -Wl,--icf=safe and recompiled and did not receive the error again.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]