Project

General

Profile

Actions

Bug #7324

closed

stack needs to be sufficiently aligned for SSE before init_array are called

Added by Rich Lowe about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
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

Related to OpenIndiana Distribution - Feature #6965: Provide GCC 5 as additional compilerResolvedOI Userland2016-05-11

Actions
Actions

Also available in: Atom PDF