Skip to content

Lto 3.14 fails to build on x86_64 #10

@enriquezmark36

Description

@enriquezmark36

Hi, I've cloned the branch lto-3.14 from your project and tried to compile with my own .config file (http://pastebin.com/Vj9aqRdV) , but it seems that it couldn't pass an error. Make shows these lines:

lib/lib.a: error adding symbols: Bad value
Makefile:842: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

I don't know what went wrong. On x86, the build finishes successfully in the same computer.
EDIT: It was finished successfully because of a different .config file. Plus, I am on the x86_64 chroot when that happened not on the x86 host. uname -a doesn't tell whether I am on the chroot because I use a 64-bit kernel on a x86 installation. The .config has almost no modules.

All I know that I use
gcc 4.9,
a 64-bit compatible computer
a x86 host (also ubuntu 14.10)
a x86_64 ubuntu 14.10 setup-ed in a chroot,
a "binutils" required that is stated in the documentation,
a bfd linker, and
a MAKEFLAGS variable which is set to "AR=gcc-ar-4.9 NM=gcc-nm-4.9"

I've also saw that a line in config file "CONFIG_LTO_SLIM" was changed from "n" to "y" by Make after I tried to set it to "n". I tried to rebuild with that and it failed with the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions