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
:
Michal Piotrowski
Re: [BUG] fs/xfs/xfs_bmap_btree.c:2312: error: 'b' undeclared (first use in this f...
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Paul Jackson
[PATCH 0/5 v2] x86 boot: various E820 & EFI related fixes - what changed in v2
git
:
openbsd-misc
:
linux-netdev
:
Paweł Staszewski
Re: rib_trie / Fix inflate_threshold_root. Now=15 size=11 bits
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: Data corruption issue with splice() on 2.6.27.10
Colocation donated by:
Who's online
There are currently
1 user
and
841 guests
online.
Online users
zeekec
Syndicate