* Problems building arc-2016.09-eng007 toolchain with 2.6.35 kernel headers [not found] <CAGXr9JG_P19fWQMtGN7gzJ7SYOVy=b=8DiD9M8++6_wngZ8NvA@mail.gmail.com> @ 2016-08-08 22:08 ` Vineet Gupta 2016-08-10 17:03 ` Waldemar Brodkorb 0 siblings, 1 reply; 4+ messages in thread From: Vineet Gupta @ 2016-08-08 22:08 UTC (permalink / raw) To: linux-snps-arc On 08/08/2016 02:44 PM, Petri Gynther wrote: > uclibc-ng & ARC developers: > > I'm trying to use buildroot to build the latest ARC toolchain > (arc-2016.09-eng007) against our vendor-provided 2.6.35.12 ARC Linux > kernel. (Yes, it is an ancient kernel, but that's what I have to work > with for now, unfortunately.) > > ... > > > Questions: > 1) Does the latest ARC toolchain use some new ABI for binaries that > makes them incompatible with 2.6.35.12 kernel? Indeed even if you were to build it successfully - you will run into ABI issues - 2.6.35 is ABI v1 and we are currently at v3 (which is going to change soon even further to v4 - for ARC HS processors) More details at: https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility > 2) Is uclibc-ng 1.0.17 supposed to be compatible with 2.6.x kernel headers? No - modern/upstream uClibc-ng is not compatible with 2.6.35 You need to use the uClibc of the time - with pairing gcc/binutils - although that will be a can of worms > Any help is greatly appreciated. Thanks. Sorry - can't help you much here ! -Vineet ^ permalink raw reply [flat|nested] 4+ messages in thread
* Problems building arc-2016.09-eng007 toolchain with 2.6.35 kernel headers 2016-08-08 22:08 ` Problems building arc-2016.09-eng007 toolchain with 2.6.35 kernel headers Vineet Gupta @ 2016-08-10 17:03 ` Waldemar Brodkorb 2016-08-10 17:22 ` Vineet Gupta 2016-08-11 5:48 ` Alexey Brodkin 0 siblings, 2 replies; 4+ messages in thread From: Waldemar Brodkorb @ 2016-08-10 17:03 UTC (permalink / raw) To: linux-snps-arc Hi, Vineet Gupta wrote, > On 08/08/2016 02:44 PM, Petri Gynther wrote: > > uclibc-ng & ARC developers: > > > > I'm trying to use buildroot to build the latest ARC toolchain > > (arc-2016.09-eng007) against our vendor-provided 2.6.35.12 ARC Linux > > kernel. (Yes, it is an ancient kernel, but that's what I have to work > > with for now, unfortunately.) > > > > ... > > > > > > Questions: > > 1) Does the latest ARC toolchain use some new ABI for binaries that > > makes them incompatible with 2.6.35.12 kernel? > > Indeed even if you were to build it successfully - you will run into ABI issues - > 2.6.35 is ABI v1 and we are currently at v3 (which is going to change soon even > further to v4 - for ARC HS processors) > More details at: > https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility > > > 2) Is uclibc-ng 1.0.17 supposed to be compatible with 2.6.x kernel headers? > > No - modern/upstream uClibc-ng is not compatible with 2.6.35 > You need to use the uClibc of the time - with pairing gcc/binutils - although that > will be a can of worms This is only the case for ARC, right? Other architectures should work fine, like MIPS or ARM. best regards Waldemar ^ permalink raw reply [flat|nested] 4+ messages in thread
* Problems building arc-2016.09-eng007 toolchain with 2.6.35 kernel headers 2016-08-10 17:03 ` Waldemar Brodkorb @ 2016-08-10 17:22 ` Vineet Gupta 2016-08-11 5:48 ` Alexey Brodkin 1 sibling, 0 replies; 4+ messages in thread From: Vineet Gupta @ 2016-08-10 17:22 UTC (permalink / raw) To: linux-snps-arc On 08/10/2016 10:03 AM, Waldemar Brodkorb wrote: >>> 2) Is uclibc-ng 1.0.17 supposed to be compatible with 2.6.x kernel headers? >> > >> > No - modern/upstream uClibc-ng is not compatible with 2.6.35 >> > You need to use the uClibc of the time - with pairing gcc/binutils - although that >> > will be a can of worms > This is only the case for ARC, right? > Other architectures should work fine, like MIPS or ARM. Perhaps they will - I'm not sure. ARC certainly has issues due to the syscall ABI change from 2.6.35 to upstream 3.8 ! -Vineet ^ permalink raw reply [flat|nested] 4+ messages in thread
* Problems building arc-2016.09-eng007 toolchain with 2.6.35 kernel headers 2016-08-10 17:03 ` Waldemar Brodkorb 2016-08-10 17:22 ` Vineet Gupta @ 2016-08-11 5:48 ` Alexey Brodkin 1 sibling, 0 replies; 4+ messages in thread From: Alexey Brodkin @ 2016-08-11 5:48 UTC (permalink / raw) To: linux-snps-arc Hi Waldemar, On Wed, 2016-08-10@19:03 +0200, Waldemar Brodkorb wrote: > Hi, > Vineet Gupta wrote, > > > > > On 08/08/2016 02:44 PM, Petri Gynther wrote: > > > > > > uclibc-ng & ARC developers: > > > > > > I'm trying to use buildroot to build the latest ARC toolchain > > > (arc-2016.09-eng007) against our vendor-provided 2.6.35.12 ARC Linux > > > kernel. (Yes, it is an ancient kernel, but that's what I have to work > > > with for now, unfortunately.) > > > > > > ... > > > > > > > > > Questions: > > > 1) Does the latest ARC toolchain use some new ABI for binaries that > > > makes them incompatible with 2.6.35.12 kernel? > > > > Indeed even if you were to build it successfully - you will run into ABI issues - > > 2.6.35 is ABI v1 and we are currently at v3 (which is going to change soon even > > further to v4 - for ARC HS processors) > > More details at: > > https://github.com/foss-for-synopsys-dwc-arc-processors/linux/wiki/ARC-Linux-Syscall-ABI-Compatibility > > > > > > > > 2) Is uclibc-ng 1.0.17 supposed to be compatible with 2.6.x kernel headers? > > > > No - modern/upstream uClibc-ng is not compatible with 2.6.35 > > You need to use the uClibc of the time - with pairing gcc/binutils - although that > > will be a can of worms > > This is only the case for ARC, right? > Other architectures should work fine, like MIPS or ARM. As Vineet mentioned above that's the case for ARC because of ABI changes, see Wiki page above. As for arches that were supported in Linux for much longer time like ARM and MISP most probably up-to-date uClibc would work with 2.6.x kernels but frankly I haven't tried that myself. Still newer arches like Nios and Extensa may have similar issues as we have. But again I barely have any experience with those arches so asking their maintainers might be a good idea. -Alexey ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-11 5:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CAGXr9JG_P19fWQMtGN7gzJ7SYOVy=b=8DiD9M8++6_wngZ8NvA@mail.gmail.com>
2016-08-08 22:08 ` Problems building arc-2016.09-eng007 toolchain with 2.6.35 kernel headers Vineet Gupta
2016-08-10 17:03 ` Waldemar Brodkorb
2016-08-10 17:22 ` Vineet Gupta
2016-08-11 5:48 ` Alexey Brodkin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).