Gcc Error Elf_x86_64
Kernel build makefiles are a little different from regular makefiles: the target needs to be modules, not the name of your module (test), which only needs to be specified via the I build 18.104.22.168 with no problems. The problem is that gcc 4.6 doesn't support anymore linker-style architecture options. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the
Meta-undecidability Why would a language be undubbable by universal (machine) translator? Last edited by graysky (2011-05-20 00:48:15) CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs Offline #5 2011-05-20 00:54:08 TaterSalad Member Registered: 2011-05-19 Posts: 6 Re: [solved] Offline #9 2011-05-20 11:30:06 graysky Member From: The worse toilet in Scotland Registered: 2008-12-01 Posts: 8,787 Website Re: [solved] Vanilla kernel won't compile on vanilla install Dunno what to tell you... I don't need gcc 4.6 anyways. http://stackoverflow.com/questions/22662906/linux-kernel-compile-error-elf-x86-64-missing
I wanted to test out some custom kernel modifications on Arch Linux. (Specifically, I have been trying to implement unRAID [ http://lime-technology.com/ ] into a Arch Linux install.) I ran into Content is available under Creative Commons Attribution-ShareAlike 3.0 Unported License unless otherwise noted. Idiom for situation where you can either gain a lot or lose a lot Does notation ever become "easier"? Since it was moved over to those binutils bug reports.
Full build log: https://pastee.org/gvng5Then it tanks on this error: CC arch/x86/mm/mmio-mod.o LD arch/x86/mm/mmiotrace.o LD arch/x86/mm/built-in.o LDS arch/x86/vdso/vdso32/vdso32.lds AS arch/x86/vdso/vdso32/note.o AS arch/x86/vdso/vdso32/int80.o VDSO arch/x86/vdso/vdso32-int80.so.dbg gcc: error: elf_i386: No such file or directory Work around reference to vasprintf (doesn't exist on Solaris) in gold's incremental.cc so that the gold build completes. But yeah, once I tried to patch the 3.11 kernel I was able to compile and install it. Is voluntarily revealing a card from your hand considered proposing?
No more, the house is full! http://edwin-wang.com/2011/09/gcc-error-elf_i386elf_x86_64-no-such-file-or-directory/ How do you solve the copied consciousness conundrum without killing anyone? This is free software; see the source for copying conditions. Bug44642 - bootstrap fails to build libgcc when gold is built (at least on Solaris_x86) Summary: bootstrap fails to build libgcc when gold is built (at least on Solaris_x86) Status: RESOLVED
When passed the emulation argument "-m elf_x86_64", Sun's ld interprets "elf_x86_64" as a file that cannot be opened and fails. Maybe binutils? CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs Offline #10 2011-05-20 13:56:59 TaterSalad Member Registered: 2011-05-19 Posts: 6 Re: [solved] Vanilla kernel won't compile on vanilla There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.$ pacman -Ss | grep gcc core/gcc 4.6.0-5 (base-devel) [installed] CPU-optimized Linux-ck packages @ Repo-ck • AUR packages
kernel compiling gcc share|improve this question asked Mar 28 '15 at 12:00 kos 20.1k55092 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted You need This time around I tried ABS but got the same error. find the line VDSO_LDFLAGS there exists two lines one for x64 and another for x32 bit systems. My platform is Ubuntu-12.04, Linux 3.13.0-30.
VDSO_LDFLAGS_vdso32.lds = -m32 [...] share|improve this answer answered Oct 6 '15 at 21:45 ondar07 214 add a comment| up vote 0 down vote The problem is how gcc is getting some
Thanks to internet I could solve some (see below), but then I am facing more errors: Error #1: gcc: error: unrecognized command line option '-m' gcc: error: elf_x86_64: No such file share|improve this answer answered Sep 30 '14 at 5:33 gedare 912 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Speed of vehicles built by humanoid giants Besides specific evolutions, which benefits are there for making my Pokemon happy? For example,vanilla 2.6.38 compiles fine.
Apparently, this causes xgcc to use Sun's ld rather than gold,but still hand Sun's ld parameters that are meant for gnu's ld. If gcc-4.5.0 is configured with --without-gnu-ld, gold is not built. gold was built, but the build crashed in the same way - trying to link libgcc. But nothing happens.