* x86_64 compile spewing hundreds of warnings - started 2.6.15-git8 @ 2006-03-02 19:35 Martin Bligh 2006-03-02 19:49 ` Andi Kleen 2006-07-31 16:14 ` Martin Bligh 0 siblings, 2 replies; 4+ messages in thread From: Martin Bligh @ 2006-03-02 19:35 UTC (permalink / raw) To: linux-kernel, Andi Kleen between 2.6.15-git7 and 2.6.15-git8 we started getting hundreds of compile warnings: -git7: http://test.kernel.org/20295/debug/test.log.0 -git8: http://test.kernel.org/20402/debug/test.log.0 Warnings look like this: include/asm/bitops.h: In function `load_elf32_binary': include/asm/bitops.h:30: warning: read-write constraint does not allow a register include/asm/bitops.h:30: warning: read-write constraint does not allow a register include/asm/bitops.h:65: warning: read-write constraint does not allow a register include/asm/bitops.h:65: warning: read-write constraint does not allow a register include/asm/bitops.h:30: warning: read-write constraint does not allow a register include/asm/bitops.h:30: warning: read-write constraint does not allow a register include/asm/bitops.h:65: warning: read-write constraint does not allow a register include/asm/bitops.h:65: warning: read-write constraint does not allow a register include/asm/bitops.h:30: warning: read-write constraint does not allow a register include/asm/bitops.h:30: warning: read-write constraint does not allow a register include/asm/bitops.h:65: warning: read-write constraint does not allow a register include/asm/bitops.h:65: warning: read-write constraint does not allow a register What do these mean? And how do we get rid of it? Presumably caused by this: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=636dd2b7def5c9c72551b51d4d516a65c269de08 or this: http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=92934bcbf96bc9dc931c40ca5f1a57685b7b813b ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: x86_64 compile spewing hundreds of warnings - started 2.6.15-git8 2006-03-02 19:35 x86_64 compile spewing hundreds of warnings - started 2.6.15-git8 Martin Bligh @ 2006-03-02 19:49 ` Andi Kleen 2006-07-31 16:14 ` Martin Bligh 1 sibling, 0 replies; 4+ messages in thread From: Andi Kleen @ 2006-03-02 19:49 UTC (permalink / raw) To: Martin Bligh; +Cc: linux-kernel On Thursday 02 March 2006 20:35, Martin Bligh wrote: > include/asm/bitops.h:65: warning: read-write constraint does not allow a > register > > > What do these mean? They mean you have a buggy compiler. > And how do we get rid of it? > > Presumably caused by this: > > http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=636dd2b7def5c9c72551b51d4d516a65c269de08 > > or this: > > http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=92934bcbf96bc9dc931c40ca5f1a57685b7b813b It was the bitops.h constrain change. The problem is that reverting them would be readding the problem. Maybe we need to #ifdef it. -Andi ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: x86_64 compile spewing hundreds of warnings - started 2.6.15-git8 2006-03-02 19:35 x86_64 compile spewing hundreds of warnings - started 2.6.15-git8 Martin Bligh 2006-03-02 19:49 ` Andi Kleen @ 2006-07-31 16:14 ` Martin Bligh 2006-07-31 20:19 ` Andi Kleen 1 sibling, 1 reply; 4+ messages in thread From: Martin Bligh @ 2006-07-31 16:14 UTC (permalink / raw) To: Martin Bligh; +Cc: linux-kernel, Andi Kleen, Andy Whitcroft Martin Bligh wrote: > between 2.6.15-git7 and 2.6.15-git8 we started getting hundreds of > compile warnings: > > -git7: http://test.kernel.org/20295/debug/test.log.0 > -git8: http://test.kernel.org/20402/debug/test.log.0 > > Warnings look like this: > > include/asm/bitops.h: In function `load_elf32_binary': > include/asm/bitops.h:30: warning: read-write constraint does not allow a > register > include/asm/bitops.h:30: warning: read-write constraint does not allow a > register > include/asm/bitops.h:65: warning: read-write constraint does not allow a > register > include/asm/bitops.h:65: warning: read-write constraint does not allow a > register > include/asm/bitops.h:30: warning: read-write constraint does not allow a > register > include/asm/bitops.h:30: warning: read-write constraint does not allow a > register > include/asm/bitops.h:65: warning: read-write constraint does not allow a > register > include/asm/bitops.h:65: warning: read-write constraint does not allow a > register > include/asm/bitops.h:30: warning: read-write constraint does not allow a > register > include/asm/bitops.h:30: warning: read-write constraint does not allow a > register > include/asm/bitops.h:65: warning: read-write constraint does not allow a > register > include/asm/bitops.h:65: warning: read-write constraint does not allow a > register > > > What do these mean? And how do we get rid of it? > > Presumably caused by this: > > http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=636dd2b7def5c9c72551b51d4d516a65c269de08 > > > or this: > > http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=92934bcbf96bc9dc931c40ca5f1a57685b7b813b > > There were rumblings about changing these checks around a bit, but nothing happened and the warnings are still there ... any chance of fixing this? M. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: x86_64 compile spewing hundreds of warnings - started 2.6.15-git8 2006-07-31 16:14 ` Martin Bligh @ 2006-07-31 20:19 ` Andi Kleen 0 siblings, 0 replies; 4+ messages in thread From: Andi Kleen @ 2006-07-31 20:19 UTC (permalink / raw) To: Martin Bligh; +Cc: linux-kernel, Andy Whitcroft On Monday 31 July 2006 18:14, Martin Bligh wrote: > Martin Bligh wrote: > > between 2.6.15-git7 and 2.6.15-git8 we started getting hundreds of > > compile warnings: > > > > -git7: http://test.kernel.org/20295/debug/test.log.0 > > -git8: http://test.kernel.org/20402/debug/test.log.0 > > > > Warnings look like this: > > > > include/asm/bitops.h: In function `load_elf32_binary': > > include/asm/bitops.h:30: warning: read-write constraint does not allow a > > register Hmm, as far as I can see I do the same as i386 with these constraints. Are you sure i386 doesn't warn either? -Andi ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-07-31 20:19 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-03-02 19:35 x86_64 compile spewing hundreds of warnings - started 2.6.15-git8 Martin Bligh 2006-03-02 19:49 ` Andi Kleen 2006-07-31 16:14 ` Martin Bligh 2006-07-31 20:19 ` Andi Kleen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox