This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: 2.6.7 ppc 8260 (cross compile in Cygwin) - lots of undefined references to `jiffies' and other symbols in built-in.o - anybody ?


Povolotsky, Alexander wrote:
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
powerpc-linux-ld: section __ftr_fixup [000005c4 -> 00000783] overlaps
section .text.1 [00000000 -> 000037df]
[... jiffies ...]

This occurs because the linux build system relies on a case-sensitive filesystem, which FAT and NTFS do not provide. Specifically, the build overwrites the file arch/$(ARCH)/kernel/vmlinux.lds.S with the file arch/$(ARCH)/kernel/vmlinux.lds.s.


To build on cygwin, you can use my patch (after having restored vmlinux.ld.S):
http://mirror.vtx.ch/lfs/patches/downloads/linux/linux-2.6.7- build_on_case_insensitive_fs-1.patch



Off topic: Dan, when will you release crosstool-0.28?


--
Martin


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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