Skip to contentSkip to conversation

Buildroot Mono Compile fails on mscorlib

Buildroot salorob 3 participants 8 messages Jul 8, 2015 – Jul 9, 2015

lore
Share & tools
lore

salorob

author
#0 lore raw

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.

author
#2 lore raw
In reply to Thomas Petazzoni

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:[email protected]>>
Date: woensdag 8 juli 2015 13:29
To: Robert Salomons <r.salomons at ropesolutions.nl<mailto:[email protected]>>
Subject: Re: Buildroot Mono Compile fails on mscorlib

Hello,

Quoted 2 lines · salorob

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.

Quoted 3 lines

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.

Quoted 4 lines

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>

#1 lore raw
In reply to salorob

Hello,

Quoted 2 lines · salorob

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.

Quoted 3 lines

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.

Quoted 4 lines

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw
In reply to salorob

Hello,

Quoted 3 lines · salorob

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
author
#4 lore raw

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:[email protected]>>
Date: woensdag 8 juli 2015 13:41
To: Robert Salomons <r.salomons at ropesolutions.nl<mailto:[email protected]>>
Subject: Re: Buildroot Mono Compile fails on mscorlib

Hello,

Quoted 3 lines · salorob

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>

#5 lore raw

Hello,

2015-07-08 15:57 GMT+02:00 salorob <[email protected]>:

Quoted 5 lines

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.

Quoted 4 lines

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

Quoted 113 lines

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,

Quoted 3 lines · salorob

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

Signature · 1 line
Profile: http://it.linkedin.com/in/compagnucciangelo
author
#6 lore raw

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:[email protected]>>
Date: donderdag 9 juli 2015 08:45
To: Robert Salomons <r.salomons at ropesolutions.nl<mailto:[email protected]>>
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>>:

Quoted 5 lines

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.

Quoted 4 lines

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

Quoted 105 lines

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,

Quoted 3 lines · salorob

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

Quoted 8 lines

________________________________
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>

#7 lore raw

Hello,

Quoted 6 lines · salorob

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

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