Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2013 14:55:25 +0800
From:      Jia-Shiun Li <jiashiun@gmail.com>
To:        Jeremy Boy <jeremy.boy@me.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: package building in arm
Message-ID:  <CAHNYxxMcG5A4%2ByFBu8OTkgeMmKCNktqOo1PSn6ZCZp4FJoutZQ@mail.gmail.com>
In-Reply-To: <882FBAB9-A491-48DA-B24D-BAA79FCE3B2D@me.com>
References:  <882FBAB9-A491-48DA-B24D-BAA79FCE3B2D@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 1, 2013 at 9:03 AM, Jeremy Boy <jeremy.boy@me.com> wrote:
> I can=E2=80=99t find a related issue on github. Feel free to contribute w=
hat you figured out at https://github.com/freebsd/pkg. I will write some li=
nes about this in the next few days, too.
>

looks like _ThreadRuneLocale is not properly initialized on ARM? Not
sure if pkg 1.2 version bump has anything to have triggered this. The
following was produced with binary compiled with stock GCC and
behavior remained the same.


(gdb) bt
#0  0x003178d0 in __getCurrentRuneLocale () at runetype.h:96
#1  0x00317850 in __sbtolower (_c=3D121) at _ctype.h:153
#2  0x00318104 in ucl_maybe_parse_boolean (obj=3D0x20c0f400,
start=3D0x20c17090 "yes", len=3D3) at ucl_internal.h:215
#3  0x00317e54 in ucl_object_fromstring_common (str=3D0x20c170b0 "yes",
len=3D3, flags=3DUCL_STRING_PARSE_BOOLEAN) at src/ucl_util.c:846
#4  0x000b09e0 in add_repo (obj=3D0x20c0f250, r=3D0x0, rname=3D0x20c17080
"FreeBSD") at pkg_config.c:714
#5  0x000b0e24 in walk_repo_obj (obj=3D0x20c0f220) at pkg_config.c:815
#6  0x000b1008 in load_repo_file (repofile=3D0xbfffe448
"/etc/pkg//FreeBSD.conf") at pkg_config.c:873
#7  0x000b10ec in load_repo_files (repodir=3D0x20c04070 "/etc/pkg/") at
pkg_config.c:897
#8  0x000b1264 in load_repositories (repodir=3D0x0) at pkg_config.c:937
#9  0x000b73ec in $a () at pkg_config.c:1166
#10 0x000b73ec in $a () at pkg_config.c:1166
(gdb) f 0
#0  0x003178d0 in __getCurrentRuneLocale () at runetype.h:96
96              if (_ThreadRuneLocale)
(gdb) p _ThreadRuneLocale
Error accessing memory address 0x2c: Bad address.
(gdb)


Regards,
Jia-Shiun



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHNYxxMcG5A4%2ByFBu8OTkgeMmKCNktqOo1PSn6ZCZp4FJoutZQ>