Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot Mono Compile fails on mscorlib
@ 2015-07-08  6:28 salorob
  2015-07-08 11:52 ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: salorob @ 2015-07-08  6:28 UTC (permalink / raw)
  To: buildroot

Hi guys,

I'm struggling to get mono build in Buildroot. I 'took' the mono and the
moonlight packages in https://github.com/maximeh.

I already tried a million different things. (different gcc version,
different gettext, trying to build on ubuntu/debian) but it all comes down
to this error after a while:


What can i do to get to the bottom of this ?

If i go into the build/mono directory manually, and issue a .configure and
make there, it compiles without errors.

Is there something in the config not right ?

*package/mono/mono.mk:*



*uname -r and gcc -v:*


Kind regard, many thanks!



--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.

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

* [Buildroot] Buildroot Mono Compile fails on mscorlib
  2015-07-08 11:52 ` Thomas Petazzoni
@ 2015-07-08 11:38   ` salorob
  2015-07-08 12:03     ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: salorob @ 2015-07-08 11:38 UTC (permalink / raw)
  To: buildroot


Well, the post was created online, for some reason it didn't email the bits between the <raw> tags.

I'll try the packages from the original repository first, and will get back with that.

However: this was the original error:

Unhandled Exception:
Nested exception detected.
Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>

Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
at int.ToString (string,System.IFormatProvider) <0x00026>
at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x00571>
at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
at System.Exception.get_StackTrace () <0x0016b>
at System.Exception.ToString () <0x0010a>
at System.Exception.ToString () <0x000c4>


[ERROR] FATAL UNHANDLED EXCEPTION: Nested exception detected.
Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>

Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
at int.ToString (string,System.IFormatProvider) <0x00026>
at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x00571>
at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
at System.Exception.get_StackTrace () <0x0016b>
at System.Exception.ToString () <0x0010a>
at System.Exception.ToString () <0x000c4>


From: "Thomas Petazzoni-2 [via Buildroot ] (busybox)" <ml-node+s2317881n104965h0 at n4.nabble.com<mailto:ml-node+s2317881n104965h0@n4.nabble.com>>
Date: woensdag 8 juli 2015 13:29
To: Robert Salomons <r.salomons at ropesolutions.nl<mailto:r.salomons@ropesolutions.nl>>
Subject: Re: Buildroot Mono Compile fails on mscorlib

Hello,

On Tue, 7 Jul 2015 23:28:00 -0700 (PDT), salorob wrote:

> I'm struggling to get mono build in Buildroot. I 'took' the mono and the
> moonlight packages in https://github.com/maximeh.

Don't use this repository. Use the official Buildroot repository
instead.

> I already tried a million different things. (different gcc version,
> different gettext, trying to build on ubuntu/debian) but it all comes down
> to this error after a while:

There are no errors in your e-mail.

> What can i do to get to the bottom of this ?
>
> If i go into the build/mono directory manually, and issue a .configure and
> make there, it compiles without errors.

Just don't do this: if you call the mono configure script manually
without all the proper environment variables and arguments, it will
build Mono for your host machine, and not for the target.

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
_______________________________________________
buildroot mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=104965&i=0>
http://lists.busybox.net/mailman/listinfo/buildroot


________________________________
If you reply to this email, your message will be added to the discussion below:
http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p104965.html
To unsubscribe from Buildroot Mono Compile fails on mscorlib, click here<http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=104945&code=ci5zYWxvbW9uc0Byb3Blc29sdXRpb25zLm5sfDEwNDk0NXwxNzY4ODU2MTA4>.
NAML<http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p104966.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150708/b9401ee5/attachment.html>

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

* [Buildroot] Buildroot Mono Compile fails on mscorlib
  2015-07-08  6:28 [Buildroot] Buildroot Mono Compile fails on mscorlib salorob
@ 2015-07-08 11:52 ` Thomas Petazzoni
  2015-07-08 11:38   ` salorob
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2015-07-08 11:52 UTC (permalink / raw)
  To: buildroot

Hello,

On Tue, 7 Jul 2015 23:28:00 -0700 (PDT), salorob wrote:

> I'm struggling to get mono build in Buildroot. I 'took' the mono and the
> moonlight packages in https://github.com/maximeh.

Don't use this repository. Use the official Buildroot repository
instead.

> I already tried a million different things. (different gcc version,
> different gettext, trying to build on ubuntu/debian) but it all comes down
> to this error after a while:

There are no errors in your e-mail.

> What can i do to get to the bottom of this ?
> 
> If i go into the build/mono directory manually, and issue a .configure and
> make there, it compiles without errors.

Just don't do this: if you call the mono configure script manually
without all the proper environment variables and arguments, it will
build Mono for your host machine, and not for the target.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] Buildroot Mono Compile fails on mscorlib
  2015-07-08 11:38   ` salorob
@ 2015-07-08 12:03     ` Thomas Petazzoni
  2015-07-08 13:57       ` salorob
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Petazzoni @ 2015-07-08 12:03 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 8 Jul 2015 04:38:06 -0700 (PDT), salorob wrote:

> Well, the post was created online, for some reason it didn't email the bits between the <raw> tags.
> 
> I'll try the packages from the original repository first, and will get back with that.

Yes, please try the official Buildroot, and if you get a build failure,
make sure to include in your report: 1/ the exact Buildroot version you
have used and 2/ a minimal Buildroot .config file that exhibits the
issue so that we can easily reproduce.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] Buildroot Mono Compile fails on mscorlib
  2015-07-08 12:03     ` Thomas Petazzoni
@ 2015-07-08 13:57       ` salorob
  2015-07-09  7:07         ` Angelo Compagnucci
  0 siblings, 1 reply; 8+ messages in thread
From: salorob @ 2015-07-08 13:57 UTC (permalink / raw)
  To: buildroot

Hi There,

I tried building with the mono and monolite packages from the 2015_08 build root. But that won?t work either.
I?m using another build root version: 2014_02

I can imaging i can?t just take this and that from different versions, but I thought 2 packages mono might not be so harmfull.
Probably I?m missing a library, or a config thing, but I don?t know what?

Config file is attached, and here is the error output once again:

make[3]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/data'
Making all in runtime
make[3]: Entering directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/runtime'
if test -w /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs; then :; else chmod -R +w /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs; fi
cd /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs && /usr/bin/make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_5 xbuild_12 xbuild_14   ' CC='/usr/bin/gcc' all-profiles
make[7]: mcs: Command not found
make[7]: *** [build/deps/basic-profile-check.exe] Error 127
*** The compiler 'mcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
Bootstrap compiler: Mono C# compiler version 4.1.0.0
MCS     [net_4_5] mscorlib.dll

Unhandled Exception:
Nested exception detected.
Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>

Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>
at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
at int.ToString (string,System.IFormatProvider) <0x00026>
at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0055f>
at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
at System.Exception.get_StackTrace () <0x0016b>
at System.Exception.ToString () <0x0010a>
at System.Exception.ToString () <0x000c4>


[ERROR] FATAL UNHANDLED EXCEPTION: Nested exception detected.
Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>

Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>
at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
at int.ToString (string,System.IFormatProvider) <0x00026>
at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0055f>
at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
at System.Exception.get_StackTrace () <0x0016b>
at System.Exception.ToString () <0x0010a>
at System.Exception.ToString () <0x000c4>


make[9]: *** [../../class/lib/net_4_5/mscorlib.dll] Error 1
make[8]: *** [do-all] Error 2
make[7]: *** [all-recursive] Error 1
make[6]: *** [all-recursive] Error 1
make[5]: *** [profile-do--net_4_5--all] Error 2
make[4]: *** [profiles-do--all] Error 2
make[3]: *** [all-local] Error 2
make[3]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0'
make: *** [/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/.stamp_built] Error 2


Thanks in advance,

From: "Thomas Petazzoni-2 [via Buildroot ] (busybox)" <ml-node+s2317881n104967h62 at n4.nabble.com<mailto:ml-node+s2317881n104967h62@n4.nabble.com>>
Date: woensdag 8 juli 2015 13:41
To: Robert Salomons <r.salomons at ropesolutions.nl<mailto:r.salomons@ropesolutions.nl>>
Subject: Re: Buildroot Mono Compile fails on mscorlib

Hello,

On Wed, 8 Jul 2015 04:38:06 -0700 (PDT), salorob wrote:

> Well, the post was created online, for some reason it didn't email the bits between the <raw> tags.
>
> I'll try the packages from the original repository first, and will get back with that.

Yes, please try the official Buildroot, and if you get a build failure,
make sure to include in your report: 1/ the exact Buildroot version you
have used and 2/ a minimal Buildroot .config file that exhibits the
issue so that we can easily reproduce.

Best regards,

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
_______________________________________________
buildroot mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=104967&i=0>
http://lists.busybox.net/mailman/listinfo/buildroot


________________________________
If you reply to this email, your message will be added to the discussion below:
http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p104967.html
To unsubscribe from Buildroot Mono Compile fails on mscorlib, click here<http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=104945&code=ci5zYWxvbW9uc0Byb3Blc29sdXRpb25zLm5sfDEwNDk0NXwxNzY4ODU2MTA4>.
NAML<http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


config (53K) <http://buildroot-busybox.2317881.n4.nabble.com/attachment/104976/0/config>




--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p104976.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150708/807d0a39/attachment.html>

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

* [Buildroot] Buildroot Mono Compile fails on mscorlib
  2015-07-08 13:57       ` salorob
@ 2015-07-09  7:07         ` Angelo Compagnucci
  2015-07-09 11:34           ` salorob
  0 siblings, 1 reply; 8+ messages in thread
From: Angelo Compagnucci @ 2015-07-09  7:07 UTC (permalink / raw)
  To: buildroot

Hello,


2015-07-08 15:57 GMT+02:00 salorob <r.salomons@ropesolutions.nl>:
>
> Hi There,
>
> I tried building with the mono and monolite packages from the 2015_08 build root. But that won?t work either.
> I?m using another build root version: 2014_02


As suggested by Thomas, please download and the latest official
version of buildroot here:

http://buildroot.org/downloads/buildroot-2015.05.tar.gz

Then, try to compile mono and if you find some errors, please attach
your config and the error log.

>
>
> I can imaging i can?t just take this and that from different versions, but I thought 2 packages mono might not be so harmfull.
> Probably I?m missing a library, or a config thing, but I don?t know what?


Mono was not included in 2014.02 for sure, so potentially you
introduced a bug trying to backport mono to an older version.

Sincerely, Angelo

>
>
> Config file is attached, and here is the error output once again:
>
> make[3]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/data'
> Making all in runtime
> make[3]: Entering directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/runtime'
> if test -w /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs; then :; else chmod -R +w /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs; fi
> cd /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs && /usr/bin/make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_5 xbuild_12 xbuild_14   ' CC='/usr/bin/gcc' all-profiles
> make[7]: mcs: Command not found
> make[7]: *** [build/deps/basic-profile-check.exe] Error 127
> *** The compiler 'mcs' doesn't appear to be usable.
> *** Trying the 'monolite' directory.
> Bootstrap compiler: Mono C# compiler version 4.1.0.0
> MCS     [net_4_5] mscorlib.dll
>
> Unhandled Exception:
> Nested exception detected.
> Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>
>
> Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
> at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>
> at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
> at int.ToString (string,System.IFormatProvider) <0x00026>
> at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0055f>
> at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
> at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
> at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
> at System.Exception.get_StackTrace () <0x0016b>
> at System.Exception.ToString () <0x0010a>
> at System.Exception.ToString () <0x000c4>
>
>
> [ERROR] FATAL UNHANDLED EXCEPTION: Nested exception detected.
> Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>
>
> Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
> at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>
> at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
> at int.ToString (string,System.IFormatProvider) <0x00026>
> at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0055f>
> at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
> at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
> at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
> at System.Exception.get_StackTrace () <0x0016b>
> at System.Exception.ToString () <0x0010a>
> at System.Exception.ToString () <0x000c4>
>
>
> make[9]: *** [../../class/lib/net_4_5/mscorlib.dll] Error 1
> make[8]: *** [do-all] Error 2
> make[7]: *** [all-recursive] Error 1
> make[6]: *** [all-recursive] Error 1
> make[5]: *** [profile-do--net_4_5--all] Error 2
> make[4]: *** [profiles-do--all] Error 2
> make[3]: *** [all-local] Error 2
> make[3]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/runtime'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0'
> make: *** [/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/.stamp_built] Error 2
>
>
> Thanks in advance,
>
> From: "Thomas Petazzoni-2 [via Buildroot ] (busybox)" <[hidden email]>
> Date: woensdag 8 juli 2015 13:41
> To: Robert Salomons <[hidden email]>
> Subject: Re: Buildroot Mono Compile fails on mscorlib
>
> Hello,
>
> On Wed, 8 Jul 2015 04:38:06 -0700 (PDT), salorob wrote:
>
> > Well, the post was created online, for some reason it didn't email the bits between the <raw> tags.
> >
> > I'll try the packages from the original repository first, and will get back with that.
>
> Yes, please try the official Buildroot, and if you get a build failure,
> make sure to include in your report: 1/ the exact Buildroot version you
> have used and 2/ a minimal Buildroot .config file that exhibits the
> issue so that we can easily reproduce.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> [hidden email]
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p104967.html
> To unsubscribe from Buildroot Mono Compile fails on mscorlib, click here.
> NAML
>
> config (53K) Download Attachment
>
> ________________________________
> View this message in context: Re: Buildroot Mono Compile fails on mscorlib
> Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot




-- 
Profile: http://it.linkedin.com/in/compagnucciangelo

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

* [Buildroot] Buildroot Mono Compile fails on mscorlib
  2015-07-09  7:07         ` Angelo Compagnucci
@ 2015-07-09 11:34           ` salorob
  2015-07-09 12:11             ` Thomas Petazzoni
  0 siblings, 1 reply; 8+ messages in thread
From: salorob @ 2015-07-09 11:34 UTC (permalink / raw)
  To: buildroot

OK. I have to admit, taking a random config in 2015_08 build root works as expected.

However, I cannot ?just? update my build root, as the supplier of the cpu has not updated build root to latest version. I will consult him too.

What would you suggest I try when I do want to run Mono on my machine?

Kind regards,

Robert


From: "Angelo Compagnucci [via Buildroot ] (busybox)" <ml-node+s2317881n105020h5 at n4.nabble.com<mailto:ml-node+s2317881n105020h5@n4.nabble.com>>
Date: donderdag 9 juli 2015 08:45
To: Robert Salomons <r.salomons at ropesolutions.nl<mailto:r.salomons@ropesolutions.nl>>
Subject: Re: Buildroot Mono Compile fails on mscorlib

Hello,


2015-07-08 15:57 GMT+02:00 salorob <[hidden email]</user/SendEmail.jtp?type=node&node=105020&i=0>>:
>
> Hi There,
>
> I tried building with the mono and monolite packages from the 2015_08 build root. But that won?t work either.
> I?m using another build root version: 2014_02


As suggested by Thomas, please download and the latest official
version of buildroot here:

http://buildroot.org/downloads/buildroot-2015.05.tar.gz

Then, try to compile mono and if you find some errors, please attach
your config and the error log.

>
>
> I can imaging i can?t just take this and that from different versions, but I thought 2 packages mono might not be so harmfull.
> Probably I?m missing a library, or a config thing, but I don?t know what?


Mono was not included in 2014.02 for sure, so potentially you
introduced a bug trying to backport mono to an older version.

Sincerely, Angelo

>
>
> Config file is attached, and here is the error output once again:
>
> make[3]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/data'
> Making all in runtime
> make[3]: Entering directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/runtime'
> if test -w /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs; then :; else chmod -R +w /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs; fi
> cd /home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/mcs && /usr/bin/make --no-print-directory -s NO_DIR_CHECK=1 PROFILES='binary_reference_assemblies net_4_5 xbuild_12 xbuild_14   ' CC='/usr/bin/gcc' all-profiles
> make[7]: mcs: Command not found
> make[7]: *** [build/deps/basic-profile-check.exe] Error 127
> *** The compiler 'mcs' doesn't appear to be usable.
> *** Trying the 'monolite' directory.
> Bootstrap compiler: Mono C# compiler version 4.1.0.0
> MCS     [net_4_5] mscorlib.dll
>
> Unhandled Exception:
> Nested exception detected.
> Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>
>
> Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
> at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>
> at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
> at int.ToString (string,System.IFormatProvider) <0x00026>
> at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0055f>
> at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
> at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
> at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
> at System.Exception.get_StackTrace () <0x0016b>
> at System.Exception.ToString () <0x0010a>
> at System.Exception.ToString () <0x000c4>
>
>
> [ERROR] FATAL UNHANDLED EXCEPTION: Nested exception detected.
> Original Exception: at Mono.CSharp.Driver.Main (string[]) <0x00048>
>
> Nested exception:at System.Threading.Thread.get_CurrentThread () <0x00025>
> at System.Globalization.NumberFormatInfo.get_CurrentInfo () <0x00008>
> at System.Globalization.NumberFormatInfo.GetInstance (System.IFormatProvider) <0x00069>
> at int.ToString (string,System.IFormatProvider) <0x00026>
> at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x0055f>
> at System.Text.StringBuilder.AppendFormat (System.IFormatProvider,string,object[]) <0x0001b>
> at System.Text.StringBuilder.AppendFormat (string,object) <0x00052>
> at System.Exception.AddFrames (System.Text.StringBuilder,string,string,System.Diagnostics.StackTrace) <0x00249>
> at System.Exception.get_StackTrace () <0x0016b>
> at System.Exception.ToString () <0x0010a>
> at System.Exception.ToString () <0x000c4>
>
>
> make[9]: *** [../../class/lib/net_4_5/mscorlib.dll] Error 1
> make[8]: *** [do-all] Error 2
> make[7]: *** [all-recursive] Error 1
> make[6]: *** [all-recursive] Error 1
> make[5]: *** [profile-do--net_4_5--all] Error 2
> make[4]: *** [profiles-do--all] Error 2
> make[3]: *** [all-local] Error 2
> make[3]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/runtime'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0'
> make: *** [/home/parallels/ICnova_2014_02/output/build/host-mono-4.0.0/.stamp_built] Error 2
>
>
> Thanks in advance,
>
> From: "Thomas Petazzoni-2 [via Buildroot ] (busybox)" <[hidden email]>
> Date: woensdag 8 juli 2015 13:41
> To: Robert Salomons <[hidden email]>
> Subject: Re: Buildroot Mono Compile fails on mscorlib
>
> Hello,
>
> On Wed, 8 Jul 2015 04:38:06 -0700 (PDT), salorob wrote:
>
> > Well, the post was created online, for some reason it didn't email the bits between the <raw> tags.
> >
> > I'll try the packages from the original repository first, and will get back with that.
>
> Yes, please try the official Buildroot, and if you get a build failure,
> make sure to include in your report: 1/ the exact Buildroot version you
> have used and 2/ a minimal Buildroot .config file that exhibits the
> issue so that we can easily reproduce.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> [hidden email]
> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p104967.html
> To unsubscribe from Buildroot Mono Compile fails on mscorlib, click here.
> NAML
>
> config (53K) Download Attachment
>
> ________________________________
> View this message in context: Re: Buildroot Mono Compile fails on mscorlib
> Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
>
> _______________________________________________
> buildroot mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=105020&i=1>
> http://lists.busybox.net/mailman/listinfo/buildroot




--
Profile: http://it.linkedin.com/in/compagnucciangelo
_______________________________________________
buildroot mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=105020&i=2>
http://lists.busybox.net/mailman/listinfo/buildroot

________________________________
If you reply to this email, your message will be added to the discussion below:
http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p105020.html
To unsubscribe from Buildroot Mono Compile fails on mscorlib, click here<http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=104945&code=ci5zYWxvbW9uc0Byb3Blc29sdXRpb25zLm5sfDEwNDk0NXwxNzY4ODU2MTA4>.
NAML<http://buildroot-busybox.2317881.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/Buildroot-Mono-Compile-fails-on-mscorlib-tp104945p105033.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150709/55718324/attachment.html>

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

* [Buildroot] Buildroot Mono Compile fails on mscorlib
  2015-07-09 11:34           ` salorob
@ 2015-07-09 12:11             ` Thomas Petazzoni
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2015-07-09 12:11 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 9 Jul 2015 04:34:08 -0700 (PDT), salorob wrote:

> OK. I have to admit, taking a random config in 2015_08 build root
> works as expected.
> 
> However, I cannot ?just? update my build root, as the supplier of the
> cpu has not updated build root to latest version. I will consult him
> too.

Just take the bootloader + kernel configuration specific to your
CPU/HW, and use it with the latest Buildroot.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-07-09 12:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-08  6:28 [Buildroot] Buildroot Mono Compile fails on mscorlib salorob
2015-07-08 11:52 ` Thomas Petazzoni
2015-07-08 11:38   ` salorob
2015-07-08 12:03     ` Thomas Petazzoni
2015-07-08 13:57       ` salorob
2015-07-09  7:07         ` Angelo Compagnucci
2015-07-09 11:34           ` salorob
2015-07-09 12:11             ` Thomas Petazzoni

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