All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bernd Kuhls <berndkuhls@hotmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Various problem using buildroot-2012.05
Date: Sat, 10 Nov 2012 21:21:13 +0100	[thread overview]
Message-ID: <pvcm7k.fkn.ln@bernd-kuhls.de> (raw)
In-Reply-To: 509E69FD.2000804@petroprogram.com

Hi,

Stefan Fr?berg <stefan.froberg@petroprogram.com>
wrote in news:509E69FD.2000804 at petroprogram.com: 

> If you try to use buildroot-made target gcc to compile perl, that is,
> you use buildroot to cross-compile gcc to run natively inside
> uClibc (?) environment, then you might encounter problems.

yes, I am trying exactly that with uClibc. I copied the buildroot-created 
toolchain along with some needed cross-compiled libs (z, openssl, db, ...) 
to my target and could successfully compile perl:


fli4l 3.9.0-rev24280 # perl -V
Summary of my perl5 (revision 5 version 16 subversion 2) configuration:

  Platform:
    osname=linux, osvers=3.6.6-nonfree, archname=i686-linux
    uname='linux fli4l 3.6.6-nonfree #1 smp tue nov 6 16:59:31 cet 2012 
i686 gnulinux '
    config_args='-des -Dprefix=/usr -Duseshrplib -Dusedl -
Ddlsrc=dl_dlopen.xs -Duselargefiles -Accflags=-fno-stack-protector -
Dperllibs=-ldl -lm -Dlibs=-ldl -lm -Dpager=/usr/bin/less -d'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=undef, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-stack-protector -fno-strict-aliasing -pipe -
D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O2',
    cppflags='-fno-stack-protector -fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.6.3', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =''
    libpth=/lib /usr/lib
    libs=-ldl -lm
    perllibs=-ldl -lm
    libc=/lib/libc.so.0, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-
rpath,/usr/lib/perl5/5.16.2/i686-linux/CORE'
    cccdlflags='-fPIC', lddlflags='-shared -O2'


Characteristics of this binary (from libperl):
  Compile-time options: HAS_TIMES PERLIO_LAYERS PERL_DONT_CREATE_GVSV
                        PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_LARGE_FILES
                        USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
                        USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
  Built under linux
  Compiled at Nov 10 2012 15:51:03
  @INC:
    /usr/lib/perl5/site_perl/5.16.2/i686-linux
    /usr/lib/perl5/site_perl/5.16.2
    /usr/lib/perl5/5.16.2/i686-linux
    /usr/lib/perl5/5.16.2


Keep up the fine work with buildroot!

Kind regards, Bernd

  reply	other threads:[~2012-11-10 20:21 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18  7:46 [Buildroot] Various problem using buildroot-2012.05 Ming-Ching Tiew
2012-06-18  8:36 ` Thomas Petazzoni
2012-11-10 14:28   ` Bernd Kuhls
2012-11-10 14:51     ` Stefan Fröberg
2012-11-10 20:21       ` Bernd Kuhls [this message]
2012-11-11 22:47       ` Arnout Vandecappelle
2012-11-12  0:04         ` Stefan Fröberg
2012-11-12  7:36           ` Thomas Petazzoni
  -- strict thread matches above, loose matches on Subject: below --
2012-06-18  3:35 Ming-Ching Tiew
2012-06-18  5:55 ` Ming-Ching Tiew
2012-06-18  6:45 ` 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=pvcm7k.fkn.ln@bernd-kuhls.de \
    --to=berndkuhls@hotmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.