login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
2
Re: huge gcc 4.1.{0,1} __weak problem
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jeremy Fitzhardinge <jeremy@...>
To: Sam Ravnborg <sam@...>
Cc: Alistair John Strachan <alistair@...>, Chris Knadle <Chris.Knadle@...>, Andrew Morton <akpm@...>, Adrian Bunk <bunk@...>, <venkatesh.pallipadi@...>, <davem@...>, <trini@...>, <mingo@...>, <tglx@...>, <hpa@...>, <linux-kernel@...>, <suresh.b.siddha@...>, Linus Torvalds <torvalds@...>
Subject:
Re: huge gcc 4.1.{0,1} __weak problem
Date: Friday, May 2, 2008 - 10:57 am
Sam Ravnborg wrote:
quoted text
> OK, can anyone confirm that this fails to build which a > buggy gcc: > > > void __attribute__((weak)) func(void) > { > /* no code */ > } > > int main() > { > func(); > return 0; > } >
I think the problem is that main() would have no call to func(), not that it wouldn't build. Does making func noinline fix it? I wonder if we should make __weak implicitly make the function noinline too. J --
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: huge gcc 4.1.{0,1} __weak problem
, Chris Knadle
, (Thu May 1, 7:55 pm)
Re: huge gcc 4.1.{0,1} __weak problem
, Alistair John Strachan
, (Fri May 2, 5:55 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Sven-Haegar Koch
, (Fri May 2, 8:40 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Sam Ravnborg
, (Fri May 2, 6:43 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Alistair John Strachan
, (Fri May 2, 7:48 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Sam Ravnborg
, (Fri May 2, 9:57 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Jeremy Fitzhardinge
, (Fri May 2, 10:57 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Jakub Jelinek
, (Fri May 2, 10:11 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Alistair John Strachan
, (Fri May 2, 11:26 am)
Re: huge gcc 4.1.{0,1} __weak problem
, Miquel van Smoorenburg
, (Fri May 2, 5:19 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Andi Kleen
[PATCH] [3/58] x86_64: asm/ptrace.h needs linux/compiler.h
Ingo Molnar
Re: containers (was Re: -mm merge plans for 2.6.23)
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
David Miller
[GIT]: Networking
Linus Torvalds
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
852 guests
online.
Online users
nat505asha
jhitch6
interruptorebxf
sreejithc
lea22
Syndicate