cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problems cross compiling curl-7.33.0 with polarssl-1.3.2 support.

From: Nacho Man <nacho2874_at_yahoo.com>
Date: Sat, 7 Dec 2013 15:12:36 -0800 (PST)

I have a question.  When I use polarssl-1.2.8 instead of polarssl-1.3.2, it builds fine.  No errors.  Could the problem have something to do with me including the <polarssl/compat-1.2.h> and <polarssl/config.h> header files?  Maybe something of the older functions aren't getting properly converted to the newer functions?  Just a thought.  On Saturday, December 7, 2013 6:00 PM, Nacho Man <nacho2874@yahoo.com> wrote: "ld segfaulting sounds like a tool problem, as no matter what wrongs you do it shouldn't crash like that." That really sucks.  That means some wheres along the way I must of messed up.  It really sucks because I've made it this far and now I have to back track.  I thought I did everything right with the toolchain because I was successfully able to build everything up to this point.  And there where a lot of packages.  I was even able to build all the SDL2 stuff as well.   Looks like I'll have to start from the beginning and try to figure out where I went wrong.  Thanks for the reply. On Saturday, December 7, 2013 4:30 PM, Daniel Stenberg <daniel@haxx.se> wrote: On Sat, 7 Dec 2013, Nacho Man wrote: > I believe the PKG_CONFIG_LIBDIR or the PKG_CONFIG_PATH fixed the > LDFLAGS="... /lib" problem from showing up in the config.log. The original config.log file should give you some clues where that option came from in the first place. But it seems like a good thing you managed to get rid of it, as it certainly seemed wrong. > When I run ./libtool --config from inside my build directory, I see > something that maybe causing my problems.  It's this line here: > # Run-time system search path for libraries. > sys_lib_dlsearch_path_spec="/lib /usr/lib" I don't think so. libtool is just a tool and it should remain the same even if you do a cross-compiled build and clearly lots of people manage to build curl and libcurl cross-compiled using that libtool. > This is the actual error: > libtool: link: /usr/local/ps3dev/ppu/bin/powerpc64-ps3-elf-gcc -O2 -Wall > -Wno-system-headers -o curl curl-tool_binmode.o curl-tool_bname.o ... > curl-tool_writeout.o curl-tool_xattr.o ../lib/curl-strtoofft.o > ../lib/curl-strdup.o ../lib/curl-rawstr.o ../lib/curl-nonblock.o  > -L/usr/local/ps3dev/ppu/lib -L/usr/local/ps3dev/portlibs/ppu/lib > ../lib/.libs/libcurl.a -lpolarssl -lz -lnet -lsysutil -lsysmodule -lm > collect2: error: ld terminated with signal 11 [Segmentation fault] ld segfaulting sounds like a tool problem, as no matter what wrongs you do it shouldn't crash like that. --   / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-12-08