Skip to content

mcount: Fix segfault on GCC7#7

Open
JIMyungSik wants to merge 2 commits intowith-git:masterfrom
JIMyungSik:master
Open

mcount: Fix segfault on GCC7#7
JIMyungSik wants to merge 2 commits intowith-git:masterfrom
JIMyungSik:master

Conversation

@JIMyungSik
Copy link
Copy Markdown

Taeung reported that uftrace crashed with segfault when it's built by
GCC 7.x. This was because gcc saves %xmm register on function prologue
using movaps but stack was not aglined in 16-byte boundary. It should
be aligned otherwise CPU generates an exception (see below link):

http://x86.renejeschke.de/html/file_module_x86_id_180.html

Fixes #1.

어제 맨 앞자리 앉았던 지명식입니다.
드디어 마무리했습니다.
감사합니다~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant