Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - bmake stuck and not progress (upon building pkg-config): (3 Items)
   
bmake stuck and not progress (upon building pkg-config)  
Upon building a component (`pkg-config`) under `pkgsrc` directory, I get stuck being told `checking for a compliant 
posix_memalign() implementation...` as in the trace below. CPU remains 99% and doesn't seem to progress for a few hours.
 Any ideas what could be wrong is appreciated.

To install pkgsrc, I followed [Bootstrap instruction here](http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/
wiki/Bootstrap), using HEaD_650. Precise commands since installing pkgsrc until where I got stuck:

    # uname -a
    QNX localhost 6.5.0 2012/06/20-13:50:59EDT x86pc x86
    # svn checkout --username <username> http://community.qnx.com/svn/repos/pkgsrc/HEAD_650
    # cd pkgsrc/bootstrap && ./bootstrap
    # cd ../devel/pkg-config
    # pwd 
    /usr/share/pkgsrc/devel/pkg-config
    # bmake 
    :
    checking for fd_set... yes, found in sys/select.h
    checking whether realloc (NULL,) will work... yes
    checking for nl_langinfo (CODESET)... no
    checking for nl_langinfo (PM_STR)... no
    checking for nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)... no
    checking for a compliant posix_memalign() implementation... 

Using QNX6.5.0 SDP1 on VMWare Player 5.0.2

(By the way, I'm not sure if the way I'm doing above is the right to way to get `pkg-config` on `QNX` in general.)

Thanks.
Re: bmake stuck and not progress (upon building pkg-config)  
The workaround ‎for the memalign issue is mentioned here.

‎http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.newcode.topc22167?_message=
1342622999343

-seanb

Sent from my BlackBerry 10 smartphone on the Rogers network.
From: Isaac Isao Saito
Sent: Wednesday, June 19, 2013 5:17 PM
To: general-community
Reply To: general-community@community.qnx.com
Subject: bmake stuck and not progress (upon building pkg-config)


Upon building a component (`pkg-config`) under `pkgsrc` directory, I get stuck being told `checking for a compliant 
posix_memalign() implementation...` as in the trace below. CPU remains 99% and doesn't seem to progress for a few hours.
 Any ideas what could be wrong is appreciated.

To install pkgsrc, I followed [Bootstrap instruction here](http://community.qnx.com/sf/wiki/do/viewPage/projects.pkgsrc/
wiki/Bootstrap), using HEaD_650. Precise commands since installing pkgsrc until where I got stuck:

    # uname -a
    QNX localhost 6.5.0 2012/06/20-13:50:59EDT x86pc x86
    # svn checkout --username <username> http://community.qnx.com/svn/repos/pkgsrc/HEAD_650
    # cd pkgsrc/bootstrap && ./bootstrap
    # cd ../devel/pkg-config
    # pwd
    /usr/share/pkgsrc/devel/pkg-config
    # bmake
    :
    checking for fd_set... yes, found in sys/select.h
    checking whether realloc (NULL,) will work... yes
    checking for nl_langinfo (CODESET)... no
    checking for nl_langinfo (PM_STR)... no
    checking for nl_langinfo (_NL_CTYPE_OUTDIGITn_MB)... no
    checking for a compliant posix_memalign() implementation...

Using QNX6.5.0 SDP1 on VMWare Player 5.0.2

(By the way, I'm not sure if the way I'm doing above is the right to way to get `pkg-config` on `QNX` in general.)

Thanks.



_______________________________________________

General
http://community.qnx.com/sf/go/post102455
To cancel your subscription to this discussion, please e-mail general-community-unsubscribe@community.qnx.com
Attachment: HTML sf-attachment-mime14091 5.21 KB
Re: bmake stuck and not progress (upon building pkg-config)  
@Sean Boudreau

thank you very much, the workaround in the link you provided worked like a charm.
To clarify, I did the following:

    # pwd
    /usr/share/pkgsrc/devel/pkg-config
    # export MALLOC_BAND_CONFIG_STR="8:16,32,0:24,32,0:32,32,0:48,24,0:64,24,0:80,24,0:96,16,0:128,8,0"
    # bmake