{"action":"opened","issue":{"url":"https://api.github.com/repos/bavison/arm-mem/issues/3","labels_url":"https://api.github.com/repos/bavison/arm-mem/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bavison/arm-mem/issues/3/comments","events_url":"https://api.github.com/repos/bavison/arm-mem/issues/3/events","html_url":"https://github.com/bavison/arm-mem/issues/3","id":60247480,"number":3,"title":"Unified a7 object causes crash on Pi1 when preloading library","user":{"login":"samnazarko","id":932652,"avatar_url":"https://avatars.githubusercontent.com/u/932652?v=3","gravatar_id":"","url":"https://api.github.com/users/samnazarko","html_url":"https://github.com/samnazarko","followers_url":"https://api.github.com/users/samnazarko/followers","following_url":"https://api.github.com/users/samnazarko/following{/other_user}","gists_url":"https://api.github.com/users/samnazarko/gists{/gist_id}","starred_url":"https://api.github.com/users/samnazarko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samnazarko/subscriptions","organizations_url":"https://api.github.com/users/samnazarko/orgs","repos_url":"https://api.github.com/users/samnazarko/repos","events_url":"https://api.github.com/users/samnazarko/events{/privacy}","received_events_url":"https://api.github.com/users/samnazarko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-08T08:35:28Z","updated_at":"2015-03-08T08:35:28Z","closed_at":null,"body":"Hi,\r\n\r\nAfter e6c03fd682479b7c3c7ef3d9bcf685342a5efdab and adding this to /etc/ld.so.preload I get a segmentation fault at boot on Pi1 with Raspbian. Have not had this issue with earlier versions of your library. My init instantly segfaults, and as pid1 dies, kernel oops! Removing the preload line brought me back up. \r\n\r\nHere is output of readelf -A on the shared object generated under Raspbian Jessie using GCC 4.9.1 as the compiler:\r\n\r\nFile Attributes\r\n  Tag_CPU_name: \"6\"\r\n  Tag_CPU_arch: v6\r\n  Tag_ARM_ISA_use: Yes\r\n  Tag_THUMB_ISA_use: Thumb-1\r\n  Tag_FP_arch: VFPv3\r\n  Tag_Advanced_SIMD_arch: NEONv1\r\n  Tag_ABI_PCS_wchar_t: 4\r\n  Tag_ABI_FP_denormal: Needed\r\n  Tag_ABI_FP_exceptions: Needed\r\n  Tag_ABI_FP_number_model: IEEE 754\r\n  Tag_ABI_align_needed: 8-byte\r\n  Tag_ABI_enum_size: int\r\n  Tag_ABI_HardFP_use: SP and DP\r\n  Tag_ABI_VFP_args: VFP registers\r\n  Tag_CPU_unaligned_access: v6\r\n\r\nFor now I am tempted to use your earlier build which had a separate lib for a7 as we package this library twice anyway (once for rbp1 and once for rbp2), but it's good to report this kind of thing.\r\n\r\ngdb is not helpful, because I am not sure set env LD_PRELOAD was working properly"}}