This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/38996] New: [LTO] lto1 doesn't work on RHEL5


[hjl@gnu-3 gcc]$ /export/gnu/import/svn/gcc-test/bld/gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/gcc/
/export/gnu/import/svn/gcc-test/src-lto/gcc/testsuite/gcc.c-torture/execute/builtins/fputs.c
/export/gnu/import/svn/gcc-test/src-lto/gcc/testsuite/gcc.c-torture/execute/builtins/fputs-lib.c
/export/gnu/import/svn/gcc-test/src-lto/gcc/testsuite/gcc.c-torture/execute/builtins/lib/main.c
 -w  -O2 -fwhopr   -lm  
lto1: fatal error: elf_update() failed: unknown version.
compilation terminated.
lto-wrapper: /export/gnu/import/svn/gcc-test/bld/gcc/xgcc returned 1 exit
status
collect2: lto-wrapper returned 1 exit status

The problem is the e_version field in ELF header is set to EV_NONE,
which is invalid.


-- 
           Summary: [LTO] lto1 doesn't work on RHEL5
           Product: gcc
           Version: lto
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: dnovillo at google dot com
        ReportedBy: hjl dot tools at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38996


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]