login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2009
»
November
»
19
Re: BUG: GCC-4.4.x changes the function frame on some functions
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Haley
Subject:
Re: BUG: GCC-4.4.x changes the function frame on some functions
Date: Thursday, November 19, 2009 - 11:36 am
Steven Rostedt wrote:
quoted text
> On Thu, 2009-11-19 at 18:20 +0000, Andrew Haley wrote: > >> OK, I found it. There is a struct defined as >> >> struct entry { >> ... >> } __attribute__((__aligned__((1 << (4))))); >> >> and then in timer_stats_update_stats you have a local variable of type >> struct entry: >> >> void timer_stats_update_stats() >> { >> spinlock_t *lock; >> struct entry *entry, input; >> >> So, gcc has to 16-align the stack pointer to satisfy the alignment >> for struct entry. > > It has to align the entire stack? Why not just the variable within the > stack?
How?. gcc has to know, at compile time, the offset from sp of each variable. So, it of course makes sure that offset is 16-aligned, but it also has to 16-align the stack pointer. Andrew. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Re: [patch for 2.6.32? 1/3] hrtimers: remove the "timer_st ...
, Thomas Gleixner
, (Wed Nov 18, 12:30 pm)
[tip:timers/urgent] hrtimer: Fix /proc/timer_list regression
, tip-bot for Feng Tang
, (Wed Nov 18, 1:24 pm)
Re: [tip:timers/urgent] hrtimer: Fix /proc/timer_list regr ...
, Ingo Molnar
, (Thu Nov 19, 12:20 am)
Re: [tip:timers/urgent] hrtimer: Fix /proc/timer_list regr ...
, Thomas Gleixner
, (Thu Nov 19, 3:05 am)
BUG: function graph tracer function frame assumptions
, Thomas Gleixner
, (Thu Nov 19, 7:30 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 8:37 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Andrew Haley
, (Thu Nov 19, 8:44 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, H. Peter Anvin
, (Thu Nov 19, 8:45 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Richard Guenther
, (Thu Nov 19, 8:49 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Richard Guenther
, (Thu Nov 19, 8:52 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, H. Peter Anvin
, (Thu Nov 19, 8:54 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Richard Guenther
, (Thu Nov 19, 8:57 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 9:02 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 9:06 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, H. Peter Anvin
, (Thu Nov 19, 9:11 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 9:12 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Andrew Haley
, (Thu Nov 19, 9:17 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Frederic Weisbecker
, (Thu Nov 19, 9:19 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 9:43 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Andi Kleen
, (Thu Nov 19, 10:37 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Linus Torvalds
, (Thu Nov 19, 10:39 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 10:51 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 10:59 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Richard Guenther
, (Thu Nov 19, 11:03 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Andrew Haley
, (Thu Nov 19, 11:20 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Andrew Haley
, (Thu Nov 19, 11:22 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 11:31 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 11:33 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Andrew Pinski
, (Thu Nov 19, 11:36 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Andrew Haley
, (Thu Nov 19, 11:36 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, H. Peter Anvin
, (Thu Nov 19, 11:37 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Linus Torvalds
, (Thu Nov 19, 11:38 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 11:39 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Linus Torvalds
, (Thu Nov 19, 11:41 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Linus Torvalds
, (Thu Nov 19, 11:43 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Ingo Molnar
, (Thu Nov 19, 11:47 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Linus Torvalds
, (Thu Nov 19, 11:54 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 12:01 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 12:06 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, David Daney
, (Thu Nov 19, 12:10 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 12:28 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Frederic Weisbecker
, (Thu Nov 19, 12:46 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, H. Peter Anvin
, (Thu Nov 19, 12:50 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Ingo Molnar
, (Thu Nov 19, 12:50 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Kai Tietz
, (Thu Nov 19, 12:54 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Frederic Weisbecker
, (Thu Nov 19, 1:05 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 1:05 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Linus Torvalds
, (Thu Nov 19, 1:06 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 1:10 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 1:17 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Frederic Weisbecker
, (Thu Nov 19, 1:25 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Frederic Weisbecker
, (Thu Nov 19, 1:28 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Thu Nov 19, 1:36 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Linus Torvalds
, (Thu Nov 19, 1:36 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Steven Rostedt
, (Thu Nov 19, 1:44 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Jeff Law
, (Thu Nov 19, 2:05 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Jeff Law
, (Thu Nov 19, 2:12 pm)
[PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to detec ...
, Steven Rostedt
, (Thu Nov 19, 10:23 pm)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Steven Rostedt
, (Thu Nov 19, 10:32 pm)
[PATCH] gcc mcount-nofp was Re: BUG: GCC-4.4.x changes the ...
, Andi Kleen
, (Fri Nov 20, 2:57 am)
[tip:timers/urgent] hrtimer: Fix /proc/timer_list regression
, tip-bot for Feng Tang
, (Fri Nov 20, 3:30 am)
Re: [PATCH] gcc mcount-nofp was Re: BUG: GCC-4.4.x changes ...
, Steven Rostedt
, (Fri Nov 20, 5:34 am)
Re: [tip:timers/urgent] hrtimer: Fix /proc/timer_list regr ...
, Heiko Carstens
, (Fri Nov 20, 7:19 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Steven Rostedt
, (Fri Nov 20, 10:00 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, H. Peter Anvin
, (Fri Nov 20, 10:13 am)
Re: [PATCH] gcc mcount-nofp was Re: BUG: GCC-4.4.x changes ...
, H. Peter Anvin
, (Fri Nov 20, 12:06 pm)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Andrew Haley
, (Fri Nov 20, 12:35 pm)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Steven Rostedt
, (Fri Nov 20, 12:46 pm)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, H. Peter Anvin
, (Fri Nov 20, 12:49 pm)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Ingo Molnar
, (Sun Nov 22, 2:05 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, H.J. Lu
, (Sun Nov 22, 2:38 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Andrew Haley
, (Sun Nov 22, 10:20 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, H.J. Lu
, (Sun Nov 22, 4:30 pm)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Jakub Jelinek
, (Mon Nov 23, 2:16 am)
Re: BUG: GCC-4.4.x changes the function frame on some func ...
, Thomas Gleixner
, (Mon Nov 23, 2:51 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Andrew Haley
, (Tue Nov 24, 7:43 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Thomas Gleixner
, (Tue Nov 24, 7:55 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Jakub Jelinek
, (Tue Nov 24, 8:06 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Andrew Haley
, (Tue Nov 24, 8:32 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Jakub Jelinek
, (Tue Nov 24, 8:36 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Andrew Haley
, (Tue Nov 24, 8:46 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, H. Peter Anvin
, (Tue Nov 24, 9:38 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Andrew Haley
, (Tue Nov 24, 10:12 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Steven Rostedt
, (Tue Nov 24, 10:30 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, H. Peter Anvin
, (Tue Nov 24, 12:55 pm)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Thomas Gleixner
, (Wed Nov 25, 8:29 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Ingo Molnar
, (Wed Nov 25, 8:44 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Thomas Gleixner
, (Wed Nov 25, 8:53 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Ingo Molnar
, (Wed Nov 25, 9:25 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...
, Jakub Jelinek
, (Wed Nov 25, 9:44 am)
Re: [PATCH][GIT PULL][v2.6.32] tracing/x86: Add check to d ...