Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gcc 4.2.4 toolchain
@ 2012-05-22 22:50 Andrew Chambers
  2012-05-23 13:03 ` Peter Korsgaard
  2012-05-23 13:09 ` Will Newton
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Chambers @ 2012-05-22 22:50 UTC (permalink / raw)
  To: buildroot

Hello,

Recently ive tried to build a custom mips linux kernel version 2.6.28 under
the buildroot-2012.02. However all gcc versions listed do not support
some deprecated gcc inline assembly syntax being used extensively.

Is it possible to use gcc 4.2.4 with buildroot-2012.02 . I manually added
it to the buildroot menu but when attempting a mips build the toolchain i
recieve the following errors while building the cross compiler ...

                 from
/Users/andrewc/Desktop/buildroot-2012.02/output/toolchain/gcc-4.2.4/gcc/unwind-sjlj.c:36:
/Users/andrewc/Desktop/buildroot-2012.02/output/toolchain/gcc-4.2.4/gcc/gthr-posix.h:43:21:
error: pthread.h: No such file or directory

i have tried using linux threads and native posix options , but both
require pthread which cant be found.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120523/43df9a34/attachment.html>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] gcc 4.2.4 toolchain
  2012-05-22 22:50 [Buildroot] gcc 4.2.4 toolchain Andrew Chambers
@ 2012-05-23 13:03 ` Peter Korsgaard
  2012-05-23 13:09 ` Will Newton
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2012-05-23 13:03 UTC (permalink / raw)
  To: buildroot

>>>>> "Andrew" == Andrew Chambers <andrewchamberss@gmail.com> writes:

 Andrew> Hello,

 Andrew> Recently ive tried to build a custom mips linux kernel version
 Andrew> 2.6.28 under the buildroot-2012.02. However all gcc versions
 Andrew> listed do not support some deprecated gcc inline assembly
 Andrew> syntax being used extensively.

 Andrew> Is it possible to use gcc 4.2.4 with buildroot-2012.02 . I
 Andrew> manually added it to the buildroot menu but when attempting a
 Andrew> mips build the toolchain i recieve the following errors while
 Andrew> building the cross compiler ...?

4.2 support got removed back in Dec 2011, so perhaps give
buildroot-2011.11 a try?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] gcc 4.2.4 toolchain
  2012-05-22 22:50 [Buildroot] gcc 4.2.4 toolchain Andrew Chambers
  2012-05-23 13:03 ` Peter Korsgaard
@ 2012-05-23 13:09 ` Will Newton
  1 sibling, 0 replies; 3+ messages in thread
From: Will Newton @ 2012-05-23 13:09 UTC (permalink / raw)
  To: buildroot

On Tue, May 22, 2012 at 11:50 PM, Andrew Chambers
<andrewchamberss@gmail.com> wrote:
> Hello,
>
> Recently ive tried to build a custom mips linux kernel version 2.6.28 under
> the buildroot-2012.02. However all gcc versions listed do not support
> some deprecated gcc inline assembly syntax being used extensively.
>
> Is it possible to use gcc 4.2.4 with buildroot-2012.02 . I manually added it
> to the buildroot menu but when attempting a mips build the toolchain i
> recieve the following errors while building the cross compiler ...
>
> ???????????????? from
> /Users/andrewc/Desktop/buildroot-2012.02/output/toolchain/gcc-4.2.4/gcc/unwind-sjlj.c:36:
> /Users/andrewc/Desktop/buildroot-2012.02/output/toolchain/gcc-4.2.4/gcc/gthr-posix.h:43:21:
> error: pthread.h: No such file or directory
>
> i have tried using linux threads and native posix options , but both require
> pthread which cant be found.

Hi Andrew,

It is pretty simple to add back gcc 4.2.4 support to buildroot. The
issue you see here is due
to a missing patch, which should be available in the older releases as
Peter suggested. The
patch in question is called 1001-gcc-4.2.x-inhibit-libc.patch but it
is probably safest just to
add back all the 4.2.4 patches.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-23 13:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-22 22:50 [Buildroot] gcc 4.2.4 toolchain Andrew Chambers
2012-05-23 13:03 ` Peter Korsgaard
2012-05-23 13:09 ` Will Newton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox