mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Martin Hollingsworth <Martin.Hollingsworth@itk-engineering.de>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] how to configure perl scripting to compile with thread support?
Date: Wed, 23 Apr 2014 11:50:27 +0000	[thread overview]
Message-ID: <1CFDA15477ACF741AAF78FA447550B7A028DF5CC@swexchange01.itk.local> (raw)
In-Reply-To: <20140422205525.GA89375@euler.fritz.box>

Hello Bernhard,
thanks for the patch and for testing it on a target system. I appreciate your efforts!

Unfortunately I can't get it working on my system. I would like to avoid updating to the latest PTXdist version, since I want to keep my build environment as close as possible to the vendor supplied board support package. As I understood your previous message, it should be sufficient to copy the perl.make file to the rules directory of my board support package. I can verify that the build process runs the make script, by adding an invalid line to the file which creates an expected error during build.

I verified with the PERL manual of the used version, that the build flag is the same in the older version  5.14.2
http://search.cpan.org/~flora/perl-5.14.2/INSTALL#Threads

My perl.make file looks a little different than the one from the current GIT version, but I assume that's due to the different ptxdist and perl versions. Maybe this could be the source of problems, but I don't know ptxdist internals that well to find the problem.
This is the section of my perl.make file:
--------------
PERL_CONF_OPT	:= \
	--prefix=/usr \
	$(CROSS_AUTOCONF_ARCH) \
	--target=$(PTXCONF_GNU_TARGET) \
	--set-ld=$(CROSS_CC) \
	-Dusethreads
--------------

Several builds and tests later I wonder: What am I missing here at this point? Any idea where it could go wrong but the image actually compile without any error?
Thanks and Regards, 
Martin

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2014-04-23 11:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-22  8:49 Martin Hollingsworth
2014-04-22 11:00 ` Bernhard Walle
2014-04-22 12:09   ` Martin Hollingsworth
2014-04-22 12:20     ` Bernhard Walle
2014-04-22 12:45       ` Martin Hollingsworth
2014-04-22 13:07         ` Bernhard Walle
2014-04-22 13:50           ` Martin Hollingsworth
2014-04-22 20:55             ` Bernhard Walle
2014-04-23 11:50               ` Martin Hollingsworth [this message]
2014-04-23 14:44                 ` Martin Hollingsworth
2014-04-24  7:49                   ` Michael Olbrich
2014-04-24 11:28                     ` Martin Hollingsworth
2014-04-22 14:48   ` Michael Olbrich

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=1CFDA15477ACF741AAF78FA447550B7A028DF5CC@swexchange01.itk.local \
    --to=martin.hollingsworth@itk-engineering.de \
    --cc=ptxdist@pengutronix.de \
    /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