- 30 Mar, 2015 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 11 Mar, 2015 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 24 Feb, 2015 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 10 Feb, 2015 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 02 Feb, 2015 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 15 Jan, 2015 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 19 Dec, 2014 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 01 Dec, 2014 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 14 Nov, 2014 1 commit
-
-
Luis Henriques authored
Signed-off-by:
Luis Henriques <luis.henriques@canonical.com>
-
- 30 Oct, 2014 1 commit
-
-
Greg Kroah-Hartman authored
-
- 15 Oct, 2014 1 commit
-
-
Greg Kroah-Hartman authored
-
- 09 Oct, 2014 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Oct, 2014 1 commit
-
-
Greg Kroah-Hartman authored
-
- 17 Sep, 2014 1 commit
-
-
Greg Kroah-Hartman authored
-
- 05 Sep, 2014 1 commit
-
-
Greg Kroah-Hartman authored
-
- 14 Aug, 2014 1 commit
-
-
Greg Kroah-Hartman authored
-
- 03 Aug, 2014 1 commit
-
-
Linus Torvalds authored
-
- 27 Jul, 2014 1 commit
-
-
Linus Torvalds authored
-
- 26 Jul, 2014 1 commit
-
-
Linus Torvalds authored
Michel Dänzer and a couple of other people reported inexplicable random oopses in the scheduler, and the cause turns out to be gcc mis-compiling the load_balance() function when debugging is enabled. The gcc bug apparently goes back to gcc-4.5, but slight optimization changes means that it now showed up as a problem in 4.9.0 and 4.9.1. The instruction scheduling problem causes gcc to schedule a spill operation to before the stack frame has been created, which in turn can corrupt the spilled value if an interrupt comes in. There may be other effects of this bug too, but that's the code generation problem seen in Michel's case. This is fixed in current gcc HEAD, but the workaround as suggested by Markus Trippelsdorf is pretty simple: use -fno-var-tracking-assignments when compiling the kernel, which disables the gcc code that causes the problem. This can result in slightly worse debug information for variable accesses, but that is infinitely preferable to actual code generation problems. Doing this unconditionally (not just for CONFIG_DEBUG_INFO) also allows non-debug builds to verify that the debug build would be identical: we can do export GCC_COMPARE_DEBUG=1 to make gcc internally verify that the result of the build is independent of the "-g" flag (it will make the compiler build everything twice, toggling the debug flag, and compare the results). Without the "-fno-var-tracking-assignments" option, the build would fail (even with 4.8.3 that didn't show the actual stack frame bug) with a gcc compare failure. See also gcc bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801 Reported-by:
Michel Dänzer <michel@daenzer.net> Suggested-by:
Markus Trippelsdorf <markus@trippelsdorf.de> Cc: Jakub Jelinek <jakub@redhat.com> Cc: stable@kernel.org Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- 21 Jul, 2014 1 commit
-
-
Linus Torvalds authored
-
- 13 Jul, 2014 1 commit
-
-
Linus Torvalds authored
-
- 06 Jul, 2014 1 commit
-
-
Linus Torvalds authored
-
- 04 Jul, 2014 2 commits
-
-
Michal Marek authored
All other users of Makefile.build set $(obj) to the name of the subdirectory to build. Do the same for the packaging targets, otherwise the build fails if $(srctree) is a relative directory: $ make O=build tar-pkg make[1]: Entering directory `/home/mmarek/linux-2.6/build' CHK include/config/kernel.release ../scripts/Makefile.build:44: ../../scripts/package/Makefile: No such file or directory make[2]: *** No rule to make target `../../scripts/package/Makefile'. Stop. Fixes: 9da0763b ("kbuild: Use relative path when building in a subdir of the source tree") Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
Michal Marek authored
Commit c2e28dc9 (kbuild: Print the name of the build directory) prints the name of the build directory for O= builds, but we should not be doing this in make -s mode, so that commands like make -s O=<dir> kernelrelease can be used by scripts. This matches the behavior of make itself, where the -s option implies --no-print-directory. Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
- 03 Jul, 2014 1 commit
-
-
Michal Marek authored
With commit 9da0763b (kbuild: Use relative path when building in a subdir of the source tree), the compiler messages include relative paths. These are however relative to the build directory, not the directory where make was started. Print the "Entering directory ..." message once, so that IDEs/editors can find the source files. Acked-by:
David Howells <dhowells@redhat.com> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
- 29 Jun, 2014 1 commit
-
-
Linus Torvalds authored
-
- 22 Jun, 2014 1 commit
-
-
Linus Torvalds authored
-
- 16 Jun, 2014 1 commit
-
-
Linus Torvalds authored
-
- 09 Jun, 2014 3 commits
-
-
Masahiro Yamada authored
The directory include/config is used only for silentoldconfig, localmodconfig, localyesconfig. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
Masahiro Yamada authored
There are no generated files under include/linux directory. Signed-off-by:
Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
Geert Uytterhoeven authored
On architectures that setup CROSS_COMPILE in their arch/*/Makefile (arc, blackfin, m68k, mips, parisc, score, sh, tile, unicore32, xtensa), cc-option and cc-disable-warning may check against the wrong compiler, causing errors like cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" if the host gcc supports a compiler option, while the cross compiler doesn't support that option. Move all logic using cc-option or cc-disable-warning below the inclusion of the arch's Makefile to fix this. Introduced by - commit e74fc973 ("Turn off -Wmaybe-uninitialized when building with -Os"), - commit 61163efa ("kbuild: LLVMLinux: Add Kbuild support for building kernel with Clang"). As -Wno-maybe-uninitialized requires a quite recent gcc (gcc 4.6.3 on Ubuntu 12.04 LTS doesn't support it), this only showed up recently (gcc 4.8.2 on Ubuntu 14.04 LTS does support it). Signed-off-by:
Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
- 08 Jun, 2014 1 commit
-
-
Linus Torvalds authored
-
- 07 Jun, 2014 1 commit
-
-
Behan Webster authored
Both gcc (well, actually gnu as) and clang support the "-Wa,-gdwarf-2" option (though clang does not support "-Wa,--gdwarf-2"). Since these flags are equivalent in meaning, this patch uses the one which is better supported across compilers. Signed-off-by:
Behan Webster <behanw@converseincode.com>
-
- 02 Jun, 2014 1 commit
-
-
Linus Torvalds authored
-
- 25 May, 2014 1 commit
-
-
Linus Torvalds authored
-
- 21 May, 2014 1 commit
-
-
Linus Torvalds authored
-
- 14 May, 2014 3 commits
-
-
Michal Marek authored
When doing make O=<subdir>, use '..' to refer to the source tree. This allows for more readable compiler messages, and, more importantly, it sets the VPATH to '..', so filenames in WARN_ON() etc. will be shorter. Acked-by:
Sam Ravnborg <sam@ravnborg.org> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
Michal Marek authored
When not using O=, $(srctree) refers to the same directory as $(objtree), so we can set it to '.' as well. This makes the default include path more compact and results in more readable messages from the compiler. The only case where we need the absolute path is when creating the 'source' symlink in /lib/modules. Acked-by:
Sam Ravnborg <sam@ravnborg.org> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
Michal Marek authored
The main Makefile sets its working directory to the object tree and never changes it again. Therefore, we can use '.' instead of the absolute path. The only case where we need the absolute path is when creating the 'build' symlink in /lib/modules. Acked-by:
Sam Ravnborg <sam@ravnborg.org> Signed-off-by:
Michal Marek <mmarek@suse.cz>
-
- 09 May, 2014 1 commit
-
-
Linus Torvalds authored
-