Skip to contentSkip to conversation

glib-networking when using gtlsconnection fails

Buildroot Bernhard Schuster 1 participant 1 message Oct 16, 2013

lore
Share & tools
lore
#0 lore raw

I cleaned all direct dependencies manually via <project>-clean and removing the apropriate .stamp_ entries in the output/build directory.

Demo code https://github.com/drahnr/buildrootbugdemo
Note: I do not have the machine at hand to test it right now, but I'd really appreciate if somebody could give it a whirl.

Thanks a lot!

Best

Bernhard

Quoted 44 lines · Thomas Petazzoni

Dear Bernhard Schuster,

Quoted 22 lines · Bernhard Schuster

I am trying to cross compile a application which works just fine on
my
x86_64 machine for a ARMv5TE "gadget". Unfortunately something
really
weird happens: Altough having selected gnutls in order to use TLS
with
glib-networking (GTlsConnection), I always get an error as soon as
the
combined cert/key pem file is read (it exists, has proper
permissions,
all tripple checked). The error always contains "TLS unsupported"
or
"no TLS support" (can not recall, currently away from that machine) altough the config.h of glib-networking says the opposite. The
binary
is statically compiled (which worked fine so far).

I am puzzled on how to fix my issue, I already tried to fix it by adding a couple of commandline opts explicitly (though they say
that
they are enabled by default, thus - as expected - nothing changed).

Quoted 9 lines

Also note that I have a similar issue with pcre (required for
GRegex),
where I pass --enable-utf8 but it still did not fix anything.

Any help, hint, tip is appreciated.

Buildroot 2013.08 is used together with the code sourcery 2011/2013 toolchain

Just to be sure: did you do a complete "make clean all" cycle after adjusting your configuration to enable gnutls, or after adding --enable-utf8 to pcre?

Remember that Buildroot does not automatically rebuild packages: if you
enable gnutls, it will build gnutls, but it will not rebuild glib-networking automatically.

Quoted 12 lines

If you can provide a simple test case (or maybe even an existing test application for glib-networking) to reproduce the problem, it would definitely be helpful. Same for the pcre / GRegex problem.

Best regards,

Thomas

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131016/900a4f09/attachment-0001.html>