Actions
Bug #7324
closedstack needs to be sufficiently aligned for SSE before init_array are called
Start date:
2016-08-24
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
Description
Robert in #3912 fixed the CRT to align the stack so that .init functions may use SSE. Unfortunately, that's not sufficient to allow functions in .init_array to do so, since they're called more naturally from call_init in rtld, which means we need the stack aligned as soon as possible after process startup, in rt_boot.
Otherwise we see the same sort of SEGV that Robert did there, where the addr is a movaps instruction, and one of the operands is insufficiently aligned.
Related issues
Updated by Electric Monk over 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit 3cae6de1ad548d0528165017a831a2dd74b66745
commit 3cae6de1ad548d0528165017a831a2dd74b66745 Author: Richard Lowe <richlowe@richlowe.net> Date: 2016-08-27T22:38:54.000Z 7324 stack needs to be sufficiently aligned for SSE before init_array are called Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Gordon Ross <gwr@nexenta.com>
Updated by Aurélien Larcher over 5 years ago
- Related to Feature #6965: Provide GCC 5 as additional compiler added
Actions