* [Buildroot] new perl build issue
@ 2012-11-04 17:02 Alexander Khryukin
2012-11-04 17:53 ` Thomas Petazzoni
2012-11-04 19:41 ` François Perrad
0 siblings, 2 replies; 13+ messages in thread
From: Alexander Khryukin @ 2012-11-04 17:02 UTC (permalink / raw)
To: buildroot
Hi.
I'm trying to build new perl package
and get error
http://pastie.org/5181814
FATAL: kernel too old
The program compiled OK, but exited with status 1.
You have a problem. Shall I abort Configure [y]
Ok. Stopping Configure.
Looks like perl package get kernel version string via uname or /proc
2.6.32-279.9.1.el6.x86_64 my kernel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121104/820319b0/attachment.html>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-04 17:02 [Buildroot] new perl build issue Alexander Khryukin
@ 2012-11-04 17:53 ` Thomas Petazzoni
2012-11-04 18:24 ` Bernd Kuhls
2012-11-04 19:41 ` François Perrad
1 sibling, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2012-11-04 17:53 UTC (permalink / raw)
To: buildroot
Dear Alexander Khryukin,
Thanks for your report.
Fran?ois, would you mind looking into this?
Thanks!
Thomas
On Sun, 4 Nov 2012 20:02:22 +0300, Alexander Khryukin wrote:
> Hi.
> I'm trying to build new perl package
> and get error
> http://pastie.org/5181814
>
>
> FATAL: kernel too old
> The program compiled OK, but exited with status 1.
> You have a problem. Shall I abort Configure [y]
> Ok. Stopping Configure.
>
> Looks like perl package get kernel version string via uname or /proc
> 2.6.32-279.9.1.el6.x86_64 my kernel
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-04 17:53 ` Thomas Petazzoni
@ 2012-11-04 18:24 ` Bernd Kuhls
0 siblings, 0 replies; 13+ messages in thread
From: Bernd Kuhls @ 2012-11-04 18:24 UTC (permalink / raw)
To: buildroot
Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
@public.gmane.org> wrote in news:20121104185301.0616b2f9 at skate:
> Fran??ois, would you mind looking into this?
Hi,
@Francois: Could you also please have a look at my report?
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/48229
I had some registration issues while sending the post via Gmane, so it
arrived a day later than written, so maybe it went unnoticed.
Kind regards, Bernd
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-04 17:02 [Buildroot] new perl build issue Alexander Khryukin
2012-11-04 17:53 ` Thomas Petazzoni
@ 2012-11-04 19:41 ` François Perrad
2012-11-05 5:53 ` Bernd Kuhls
2012-11-05 6:53 ` Thomas Petazzoni
1 sibling, 2 replies; 13+ messages in thread
From: François Perrad @ 2012-11-04 19:41 UTC (permalink / raw)
To: buildroot
2012/11/4 Alexander Khryukin <alexander@mezon.ru>:
> Hi.
> I'm trying to build new perl package
> and get error
> http://pastie.org/5181814
>
>
> FATAL: kernel too old
> The program compiled OK, but exited with status 1.
> You have a problem. Shall I abort Configure [y]
> Ok. Stopping Configure.
>
> Looks like perl package get kernel version string via uname or /proc
> 2.6.32-279.9.1.el6.x86_64 my kernel
>
the message 'FATAL: kernel too old' seems to come from qemu.
refering line number from http://pastie.org/5181814
a file 'try.c' containing line 74 & 75 is cross-compiled successfully
into 'try' by the command line 79.
the command line 80 fails to execute it with qemu.
$ /home/fdkit/buildroot/output/build/perl-5.16.1/Cross/run-qemu-arm ./try
'Cross/run-qemu-arm' is a one line script which wraps 'qemu-arm'.
this afternoon, Thomas has posted 3 patches for qemu (see
http://patchwork.ozlabs.org/patch/197055/).
Alexander, try to rebuild host-qemu with them.
Fran?ois
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-04 19:41 ` François Perrad
@ 2012-11-05 5:53 ` Bernd Kuhls
2012-11-05 6:53 ` Thomas Petazzoni
1 sibling, 0 replies; 13+ messages in thread
From: Bernd Kuhls @ 2012-11-05 5:53 UTC (permalink / raw)
To: buildroot
Fran?ois Perrad <francois.perrad@gadz.org> wrote in
news:CAB0FRstkx1+Eg0WTv4eVJ+KPFX9RY2C8X4SaL0EDoBK0P642SQ at mail.gmail.com:
> this afternoon, Thomas has posted 3 patches for qemu (see
> http://patchwork.ozlabs.org/patch/197055/).
Hi,
I needed to add libglib2 to QEMU_DEPENDENCIES to get host-qemu compiled.
Furthermore the patch did not fix my compile problem, the qemu still happens:
qemu: Unsupported syscall: 240
Kind regards, Bernd
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-04 19:41 ` François Perrad
2012-11-05 5:53 ` Bernd Kuhls
@ 2012-11-05 6:53 ` Thomas Petazzoni
2012-11-05 8:10 ` Alexander Khryukin
2012-11-05 14:24 ` François Perrad
1 sibling, 2 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2012-11-05 6:53 UTC (permalink / raw)
To: buildroot
On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
> this afternoon, Thomas has posted 3 patches for qemu (see
> http://patchwork.ozlabs.org/patch/197055/).
> Alexander, try to rebuild host-qemu with them.
Unfortunately, none of those patches have a chance to fix Alexander's
problem. My patches only fix missing dependencies.
Also, could you have a look at http://autobuild.buildroot.org/ for perl
build failures? It seems like Qemu doesn't start properly on some
platforms, for some reason.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-05 6:53 ` Thomas Petazzoni
@ 2012-11-05 8:10 ` Alexander Khryukin
2012-11-05 9:19 ` Alexander Khryukin
2012-11-05 14:24 ` François Perrad
1 sibling, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-11-05 8:10 UTC (permalink / raw)
To: buildroot
2012/11/5 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
>
> > this afternoon, Thomas has posted 3 patches for qemu (see
> > http://patchwork.ozlabs.org/patch/197055/).
> > Alexander, try to rebuild host-qemu with them.
>
> Unfortunately, none of those patches have a chance to fix Alexander's
> problem. My patches only fix missing dependencies.
>
> Also, could you have a look at http://autobuild.buildroot.org/ for perl
> build failures? It seems like Qemu doesn't start properly on some
> platforms, for some reason.
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>
I applied your patch but looks it not helps me.
http://pastie.org/5188031
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121105/5b9893a8/attachment.html>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-05 8:10 ` Alexander Khryukin
@ 2012-11-05 9:19 ` Alexander Khryukin
2012-11-05 14:33 ` François Perrad
0 siblings, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-11-05 9:19 UTC (permalink / raw)
To: buildroot
2012/11/5 Alexander Khryukin <alexander@mezon.ru>
>
>
> 2012/11/5 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
>>
>> On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
>>
>> > this afternoon, Thomas has posted 3 patches for qemu (see
>> > http://patchwork.ozlabs.org/patch/197055/).
>> > Alexander, try to rebuild host-qemu with them.
>>
>> Unfortunately, none of those patches have a chance to fix Alexander's
>> problem. My patches only fix missing dependencies.
>>
>> Also, could you have a look at http://autobuild.buildroot.org/ for perl
>> build failures? It seems like Qemu doesn't start properly on some
>> platforms, for some reason.
>>
>> Thomas
>> --
>> Thomas Petazzoni, Free Electrons
>> Kernel, drivers, real-time and embedded Linux
>> development, consulting, training and support.
>> http://free-electrons.com
>>
>
>
> I applied your patch but looks it not helps me.
>
> http://pastie.org/5188031
>
Also if i compile it by my default system gcc it's ok
[fdkit at kvm-host UU]$ gcc try.c
[fdkit at kvm-host UU]$ ls ./a.out
./a.out*
[fdkit at kvm-host UU]$ ./a.out
Ok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121105/6b672048/attachment.html>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-05 6:53 ` Thomas Petazzoni
2012-11-05 8:10 ` Alexander Khryukin
@ 2012-11-05 14:24 ` François Perrad
1 sibling, 0 replies; 13+ messages in thread
From: François Perrad @ 2012-11-05 14:24 UTC (permalink / raw)
To: buildroot
2012/11/5 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>:
>
> On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
>
>> this afternoon, Thomas has posted 3 patches for qemu (see
>> http://patchwork.ozlabs.org/patch/197055/).
>> Alexander, try to rebuild host-qemu with them.
>
> Unfortunately, none of those patches have a chance to fix Alexander's
> problem. My patches only fix missing dependencies.
>
> Also, could you have a look at http://autobuild.buildroot.org/ for perl
> build failures? It seems like Qemu doesn't start properly on some
> platforms, for some reason.
on autobuilder, at the first time to run Qemu, there is the same error :
> I've tried to compile and run the following simple program:
>
> #include <stdio.h>
> int main() { printf("Ok\n"); return(0); }
>
> I used the command:
>
> /home/peko/scratch/host/usr/bin/powerpc-linux-gcc -o try ... try.c ... -lc
> /home/peko/scratch/build/perl-5.16.1/Cross/run-qemu-ppc ./try
>
> and I got the following output:
>
> Unable to reserve 0xf7000000 bytes of virtual address space for use
> as guest address space (check your virtual memory ulimit setting
> or reserve less using -R option)
> The program compiled OK, but exited with status 1.
> You have a problem. Shall I abort Configure [y]
Qemu wants ~4GB of RAM for starting, it is really huge.
Fran?ois
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-05 9:19 ` Alexander Khryukin
@ 2012-11-05 14:33 ` François Perrad
2012-11-06 20:51 ` Alexander Khryukin
0 siblings, 1 reply; 13+ messages in thread
From: François Perrad @ 2012-11-05 14:33 UTC (permalink / raw)
To: buildroot
2012/11/5 Alexander Khryukin <alexander@mezon.ru>:
>
>
> 2012/11/5 Alexander Khryukin <alexander@mezon.ru>
>>
>>
>>
>> 2012/11/5 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>>>
>>>
>>> On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
>>>
>>> > this afternoon, Thomas has posted 3 patches for qemu (see
>>> > http://patchwork.ozlabs.org/patch/197055/).
>>> > Alexander, try to rebuild host-qemu with them.
>>>
>>> Unfortunately, none of those patches have a chance to fix Alexander's
>>> problem. My patches only fix missing dependencies.
>>>
>>> Also, could you have a look at http://autobuild.buildroot.org/ for perl
>>> build failures? It seems like Qemu doesn't start properly on some
>>> platforms, for some reason.
>>>
>>> Thomas
>>> --
>>> Thomas Petazzoni, Free Electrons
>>> Kernel, drivers, real-time and embedded Linux
>>> development, consulting, training and support.
>>> http://free-electrons.com
>>
>>
>>
>> I applied your patch but looks it not helps me.
>>
>> http://pastie.org/5188031
>
>
>
> Also if i compile it by my default system gcc it's ok
>
>
> [fdkit at kvm-host UU]$ gcc try.c
> [fdkit at kvm-host UU]$ ls ./a.out
> ./a.out*
> [fdkit at kvm-host UU]$ ./a.out
> Ok
>
Alexander,
the 'qemu-arm' built by Buildroot doesn't work properly.
could you try this workaround ?
1) install a 'qemu-arm' with your distro package manager,
$ apt-get install qemu-kvm-extras # or equivalent
2) apply this patch :
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -22,7 +22,7 @@ endif
PERL_CONF_OPT = -des \
-Dusecrosscompile \
- -Dtargetrun=$(QEMU_USER) \
+ -Dtargetrun=qemu-arm \
-Dqemulib=$(STAGING_DIR) \
-Dar="$(TARGET_AR)" \
-Dcc="$(TARGET_CC)" \
Fran?ois
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-05 14:33 ` François Perrad
@ 2012-11-06 20:51 ` Alexander Khryukin
2012-11-07 9:53 ` Alexander Khryukin
0 siblings, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-11-06 20:51 UTC (permalink / raw)
To: buildroot
2012/11/5 Fran?ois Perrad <francois.perrad@gadz.org>
> 2012/11/5 Alexander Khryukin <alexander@mezon.ru>:
> >
> >
> > 2012/11/5 Alexander Khryukin <alexander@mezon.ru>
> >>
> >>
> >>
> >> 2012/11/5 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> >>>
> >>>
> >>> On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
> >>>
> >>> > this afternoon, Thomas has posted 3 patches for qemu (see
> >>> > http://patchwork.ozlabs.org/patch/197055/).
> >>> > Alexander, try to rebuild host-qemu with them.
> >>>
> >>> Unfortunately, none of those patches have a chance to fix Alexander's
> >>> problem. My patches only fix missing dependencies.
> >>>
> >>> Also, could you have a look at http://autobuild.buildroot.org/ for
> perl
> >>> build failures? It seems like Qemu doesn't start properly on some
> >>> platforms, for some reason.
> >>>
> >>> Thomas
> >>> --
> >>> Thomas Petazzoni, Free Electrons
> >>> Kernel, drivers, real-time and embedded Linux
> >>> development, consulting, training and support.
> >>> http://free-electrons.com
> >>
> >>
> >>
> >> I applied your patch but looks it not helps me.
> >>
> >> http://pastie.org/5188031
> >
> >
> >
> > Also if i compile it by my default system gcc it's ok
> >
> >
> > [fdkit at kvm-host UU]$ gcc try.c
> > [fdkit at kvm-host UU]$ ls ./a.out
> > ./a.out*
> > [fdkit at kvm-host UU]$ ./a.out
> > Ok
> >
>
> Alexander,
>
> the 'qemu-arm' built by Buildroot doesn't work properly.
> could you try this workaround ?
> 1) install a 'qemu-arm' with your distro package manager,
> $ apt-get install qemu-kvm-extras # or equivalent
> 2) apply this patch :
> --- a/package/perl/perl.mk
> +++ b/package/perl/perl.mk
> @@ -22,7 +22,7 @@ endif
>
> PERL_CONF_OPT = -des \
> -Dusecrosscompile \
> - -Dtargetrun=$(QEMU_USER) \
> + -Dtargetrun=qemu-arm \
> -Dqemulib=$(STAGING_DIR) \
> -Dar="$(TARGET_AR)" \
> -Dcc="$(TARGET_CC)" \
>
> Fran?ois
>
I migrated my build system to fresh linux installation with 3.5.1 kernel
Linux localhost.localdomain 3.5.1-nrj-desktop-1mib #1 SMP PREEMPT Tue Aug
14 11:57:05 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Applied your patch, and problem still here.
http://pastie.org/5336882
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121106/fa1dd9f9/attachment.html>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-06 20:51 ` Alexander Khryukin
@ 2012-11-07 9:53 ` Alexander Khryukin
2012-11-07 20:35 ` Dan Pattison
0 siblings, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-11-07 9:53 UTC (permalink / raw)
To: buildroot
2012/11/7 Alexander Khryukin <alexander@mezon.ru>
>
>
> 2012/11/5 Fran?ois Perrad <francois.perrad@gadz.org>
>
>> 2012/11/5 Alexander Khryukin <alexander@mezon.ru>:
>> >
>> >
>> > 2012/11/5 Alexander Khryukin <alexander@mezon.ru>
>> >>
>> >>
>> >>
>> >> 2012/11/5 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>> >>>
>> >>>
>> >>> On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
>> >>>
>> >>> > this afternoon, Thomas has posted 3 patches for qemu (see
>> >>> > http://patchwork.ozlabs.org/patch/197055/).
>> >>> > Alexander, try to rebuild host-qemu with them.
>> >>>
>> >>> Unfortunately, none of those patches have a chance to fix Alexander's
>> >>> problem. My patches only fix missing dependencies.
>> >>>
>> >>> Also, could you have a look at http://autobuild.buildroot.org/ for
>> perl
>> >>> build failures? It seems like Qemu doesn't start properly on some
>> >>> platforms, for some reason.
>> >>>
>> >>> Thomas
>> >>> --
>> >>> Thomas Petazzoni, Free Electrons
>> >>> Kernel, drivers, real-time and embedded Linux
>> >>> development, consulting, training and support.
>> >>> http://free-electrons.com
>> >>
>> >>
>> >>
>> >> I applied your patch but looks it not helps me.
>> >>
>> >> http://pastie.org/5188031
>> >
>> >
>> >
>> > Also if i compile it by my default system gcc it's ok
>> >
>> >
>> > [fdkit at kvm-host UU]$ gcc try.c
>> > [fdkit at kvm-host UU]$ ls ./a.out
>> > ./a.out*
>> > [fdkit at kvm-host UU]$ ./a.out
>> > Ok
>> >
>>
>> Alexander,
>>
>> the 'qemu-arm' built by Buildroot doesn't work properly.
>> could you try this workaround ?
>> 1) install a 'qemu-arm' with your distro package manager,
>> $ apt-get install qemu-kvm-extras # or equivalent
>> 2) apply this patch :
>> --- a/package/perl/perl.mk
>> +++ b/package/perl/perl.mk
>> @@ -22,7 +22,7 @@ endif
>>
>> PERL_CONF_OPT = -des \
>> -Dusecrosscompile \
>> - -Dtargetrun=$(QEMU_USER) \
>> + -Dtargetrun=qemu-arm \
>> -Dqemulib=$(STAGING_DIR) \
>> -Dar="$(TARGET_AR)" \
>> -Dcc="$(TARGET_CC)" \
>>
>> Fran?ois
>>
>
>
> I migrated my build system to fresh linux installation with 3.5.1 kernel
> Linux localhost.localdomain 3.5.1-nrj-desktop-1mib #1 SMP PREEMPT Tue Aug
> 14 11:57:05 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> Applied your patch, and problem still here.
>
> http://pastie.org/5336882
>
>
Bump!
I don't know how to solve it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121107/531b60f2/attachment.html>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] new perl build issue
2012-11-07 9:53 ` Alexander Khryukin
@ 2012-11-07 20:35 ` Dan Pattison
0 siblings, 0 replies; 13+ messages in thread
From: Dan Pattison @ 2012-11-07 20:35 UTC (permalink / raw)
To: buildroot
On 11/7/2012 1:53 AM, Alexander Khryukin wrote:
>
>
> 2012/11/7 Alexander Khryukin <alexander@mezon.ru
> <mailto:alexander@mezon.ru>>
>
>
>
> 2012/11/5 Fran?ois Perrad <francois.perrad@gadz.org
> <mailto:francois.perrad@gadz.org>>
>
> 2012/11/5 Alexander Khryukin <alexander@mezon.ru
> <mailto:alexander@mezon.ru>>:
> >
> >
> > 2012/11/5 Alexander Khryukin <alexander@mezon.ru
> <mailto:alexander@mezon.ru>>
> >>
> >>
> >>
> >> 2012/11/5 Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com
> <mailto:thomas.petazzoni@free-electrons.com>>
> >>>
> >>>
> >>> On Sun, 4 Nov 2012 20:41:45 +0100, Fran?ois Perrad wrote:
> >>>
> >>> > this afternoon, Thomas has posted 3 patches for qemu (see
> >>> > http://patchwork.ozlabs.org/patch/197055/).
> >>> > Alexander, try to rebuild host-qemu with them.
> >>>
> >>> Unfortunately, none of those patches have a chance to fix
> Alexander's
> >>> problem. My patches only fix missing dependencies.
> >>>
> >>> Also, could you have a look at
> http://autobuild.buildroot.org/ for perl
> >>> build failures? It seems like Qemu doesn't start properly
> on some
> >>> platforms, for some reason.
> >>>
> >>> Thomas
> >>> --
> >>> Thomas Petazzoni, Free Electrons
> >>> Kernel, drivers, real-time and embedded Linux
> >>> development, consulting, training and support.
> >>> http://free-electrons.com
> >>
> >>
> >>
> >> I applied your patch but looks it not helps me.
> >>
> >> http://pastie.org/5188031
> >
> >
> >
> > Also if i compile it by my default system gcc it's ok
> >
> >
> > [fdkit at kvm-host UU]$ gcc try.c
> > [fdkit at kvm-host UU]$ ls ./a.out
> > ./a.out*
> > [fdkit at kvm-host UU]$ ./a.out
> > Ok
> >
>
> Alexander,
>
> the 'qemu-arm' built by Buildroot doesn't work properly.
> could you try this workaround ?
> 1) install a 'qemu-arm' with your distro package manager,
> $ apt-get install qemu-kvm-extras # or equivalent
> 2) apply this patch :
> --- a/package/perl/perl.mk <http://perl.mk>
> +++ b/package/perl/perl.mk <http://perl.mk>
> @@ -22,7 +22,7 @@ endif
>
> PERL_CONF_OPT = -des \
> -Dusecrosscompile \
> - -Dtargetrun=$(QEMU_USER) \
> + -Dtargetrun=qemu-arm \
> -Dqemulib=$(STAGING_DIR) \
> -Dar="$(TARGET_AR)" \
> -Dcc="$(TARGET_CC)" \
>
> Fran?ois
>
>
>
> I migrated my build system to fresh linux installation with 3.5.1
> kernel
> Linux localhost.localdomain 3.5.1-nrj-desktop-1mib #1 SMP PREEMPT
> Tue Aug 14 11:57:05 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>
> Applied your patch, and problem still here.
>
> http://pastie.org/5336882
>
>
>
>
> Bump!
> I don't know how to solve it.
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Hello,
Like Bernd mentioned below. Using perlcross makes a successful build of
perl. I tried this in buildroot for target arm (AT91SAM9G20) with
success. Was able to run Hello World program and perl -V with no
problem. The perlcross patch only works for perl-5.16.0 right now. I was
thinking on adjusting it for perl-5.16.2.
My .configure line is pasted below. I use old version of buildroot so
you will need to edit the paths. I followed the instructions here:
http://perlcross.berlios.de/
./configure --target=arm-linux-uclibc \
--target-tools-prefix=/home/ethertek/rms200/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibcgnueabi-
\
--prefix=/usr \
--sysroot=/home/ethertek/rms200/buildroot/build_arm/staging_dir/
<Hi,
<maybe this can be of help:http://perlcross.berlios.de/
<Kind regards, Bernd
Dan Pattison
Ethertek Circuits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121107/0a901636/attachment-0001.html>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2012-11-07 20:35 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-04 17:02 [Buildroot] new perl build issue Alexander Khryukin
2012-11-04 17:53 ` Thomas Petazzoni
2012-11-04 18:24 ` Bernd Kuhls
2012-11-04 19:41 ` François Perrad
2012-11-05 5:53 ` Bernd Kuhls
2012-11-05 6:53 ` Thomas Petazzoni
2012-11-05 8:10 ` Alexander Khryukin
2012-11-05 9:19 ` Alexander Khryukin
2012-11-05 14:33 ` François Perrad
2012-11-06 20:51 ` Alexander Khryukin
2012-11-07 9:53 ` Alexander Khryukin
2012-11-07 20:35 ` Dan Pattison
2012-11-05 14:24 ` François Perrad
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.