On Fri, Jan 2, 2015 at 6:43 PM, Antti Kantee <[email protected]> wrote:
> On 02/01/15 18:03, Justin Cormack wrote:
>> On Fri, Jan 2, 2015 at 5:44 PM, Antti Kantee <[email protected]> wrote:
>>> On 02/01/15 17:40, Justin Cormack wrote:
>>>> At present only buildrump.sh is tested with Musl libc. The test box is
>>>> running Alpine Linux, and it does pass all the tests without any
>>>> issues. I don't think grsec should have an issue with anything in
>>>> buildrump.sh, if you get a specific error it would be good to know
>>>> what causes it.
>>>
>>> musl64 half works, fails in these builds:
>>> http://build.myriabit.eu:8011/waterfall
>>>
>>> (or has buildrump.sh simply not been updated after whatever problem was
>>> fixed?)
>>
>> Hmm, yes something has changed, I am now getting grsec issues on both
>> head and the stable version of buildrump.
>
> I don't see the HEAD version failing with buildbot.  Are they different
> installations?

No, same. But it is possible that there is some odd disabling as it is
run via Python by buildbot, not sure yet.

>> warning: Cannot call inferior functions, Linux kernel PaX protection
>> forbids return to non-executable pages!
>>
>> At that point the program vanishes in a puff of smoke so gdb not very
>> helpful. Will have to see if it has a warning only mode.
>
> hrmph.  I guess you could single-step it and iterate towards the failure
> point that way.
>
> All of the executable code should be loaded by the host (*), so I can't
> think of anything that would cause that warning.

You can let gdb run with:
paxctl -c ./obj/brtests/fstest/fstest
paxctl -pemrxs ./obj/brtests/fstest/fstest

which then gives

Starting program: /home/justin/buildrump.sh/./obj/brtests/fstest/fstest
warning: Cannot call inferior functions, Linux kernel PaX protection
forbids return to non-executable pages!
warning: no loadable sections found in added symbol-file
system-supplied DSO at 0x7ffff7ff8000

Program received signal SIGILL, Illegal instruction.
0x00007ffff7835ca0 in rumpns_vmem_evcnt_static_bt_inuse () from
/home/justin/buildrump.sh/rump/lib/librump.so.0
(gdb) bt
#0  0x00007ffff7835ca0 in rumpns_vmem_evcnt_static_bt_inuse () from
/home/justin/buildrump.sh/rump/lib/librump.so.0
#1  0x00007ffff75d0c24 in sysctl_init () at
/home/justin/buildrump.sh/nbsrc/lib/librump/../../sys/rump/../kern/kern_sysctl.c:235
#2  0x00007ffff75fc2ca in rump_init () at
/home/justin/buildrump.sh/nbsrc/lib/librump/../../sys/rump/librump/rumpkern/rump.c:299
#3  0x0000000000400b91 in main () at
/home/justin/buildrump.sh/tests/fstest/fstest.c:12

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to