package building in arm

Jia-Shiun Li jiashiun at gmail.com
Mon Dec 2 06:55:59 UTC 2013


On Sun, Dec 1, 2013 at 9:03 AM, Jeremy Boy <jeremy.boy at me.com> wrote:
> I can’t find a related issue on github. Feel free to contribute what you figured out at https://github.com/freebsd/pkg. I will write some lines 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=121) at _ctype.h:153
#2  0x00318104 in ucl_maybe_parse_boolean (obj=0x20c0f400,
start=0x20c17090 "yes", len=3) at ucl_internal.h:215
#3  0x00317e54 in ucl_object_fromstring_common (str=0x20c170b0 "yes",
len=3, flags=UCL_STRING_PARSE_BOOLEAN) at src/ucl_util.c:846
#4  0x000b09e0 in add_repo (obj=0x20c0f250, r=0x0, rname=0x20c17080
"FreeBSD") at pkg_config.c:714
#5  0x000b0e24 in walk_repo_obj (obj=0x20c0f220) at pkg_config.c:815
#6  0x000b1008 in load_repo_file (repofile=0xbfffe448
"/etc/pkg//FreeBSD.conf") at pkg_config.c:873
#7  0x000b10ec in load_repo_files (repodir=0x20c04070 "/etc/pkg/") at
pkg_config.c:897
#8  0x000b1264 in load_repositories (repodir=0x0) 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


More information about the freebsd-arm mailing list