From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Problems with uClicbc and libc.so.6
Date: Thu, 9 Oct 2014 22:20:20 +0200 [thread overview]
Message-ID: <20141009222020.5bd77d67@free-electrons.com> (raw)
In-Reply-To: <CA+TH9Vnoy5ZeGG3h9VOLMFHCF1R3USboHG6jg2TMK1QakWy4Ww@mail.gmail.com>
Angelo,
On Thu, 9 Oct 2014 18:40:05 +0200, Angelo Compagnucci wrote:
> > Thanks, but I know nothing about Mono, so what command am I supposed to
> > run on the target to reproduce the issue?
>
> Sorry, sometimes I forget my stupidity ...
>
> Attached you can find a minimal mono example.
>
> You can compile it with:
>
> mcs weblient.cs
>
> and run it with
>
> mono webclient.exe http://www.google.com
>
> It should suffice for triggering the error.
It indeed triggers an error here, but not the same as yours:
# mono webclient.exe http://www.google.com
Unhandled Exception:
System.Net.WebException: An error occurred performing a WebClient request. ---> System.NotSupportedException: http://www.google.com/
at System.Net.WebRequest.GetCreator (System.String prefix) [0x00000] in <filename unknown>:0
at System.Net.WebRequest.Create (System.Uri requestUri) [0x00000] in <filename unknown>:0
at System.Net.WebClient.GetWebRequest (System.Uri address) [0x00000] in <filename unknown>:0
at System.Net.WebClient.SetupRequest (System.Uri uri) [0x00000] in <filename unknown>:0
at System.Net.WebClient.OpenRead (System.Uri address) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.WebClient.OpenRead (System.Uri address) [0x00000] in <filename unknown>:0
at System.Net.WebClient.OpenRead (System.String address) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Net.WebClient:OpenRead (string)
at Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Net.WebException: An error occurred performing a WebClient request. ---> System.NotSupportedException: http://www.google.com/
at System.Net.WebRequest.GetCreator (System.String prefix) [0x00000] in <filename unknown>:0
at System.Net.WebRequest.Create (System.Uri requestUri) [0x00000] in <filename unknown>:0
at System.Net.WebClient.GetWebRequest (System.Uri address) [0x00000] in <filename unknown>:0
at System.Net.WebClient.SetupRequest (System.Uri uri) [0x00000] in <filename unknown>:0
at System.Net.WebClient.OpenRead (System.Uri address) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Net.WebClient.OpenRead (System.Uri address) [0x00000] in <filename unknown>:0
at System.Net.WebClient.OpenRead (System.String address) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Net.WebClient:OpenRead (string)
at Test.Main (System.String[] args) [0x00000] in <filename unknown>:0
It happens either with webclient.exe built using mcs on the host
machine, or mcs on the target machine.
Another thing I've noticed is that the Mono installation is
*huge*. /usr/lib/mono takes 132 MB. Is all of it necessary?
Also, why do you have two packages, mono-managed and mono-native? One
builds the stuff for the host, and one builds the stuff for the target.
It could simply be one single package called mono, which builds both
for the host and the target.
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-10-09 20:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-09 10:35 [Buildroot] Problems with uClicbc and libc.so.6 Angelo Compagnucci
2014-10-09 11:54 ` Thomas Petazzoni
2014-10-09 12:58 ` Angelo Compagnucci
2014-10-09 13:07 ` Thomas Petazzoni
2014-10-09 15:58 ` Angelo Compagnucci
2014-10-09 16:02 ` Thomas Petazzoni
2014-10-09 16:40 ` Angelo Compagnucci
2014-10-09 20:20 ` Thomas Petazzoni [this message]
2014-10-10 7:46 ` Angelo Compagnucci
2014-10-10 10:34 ` Thomas Petazzoni
2014-10-10 10:45 ` Angelo Compagnucci
2014-10-10 11:06 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20141009222020.5bd77d67@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox