Commit-ID: baa1973ebcf6a7bd15522a5b6a35a8fefd6cb232
Gitweb: http://git.kernel.org/tip/baa1973ebcf6a7bd15522a5b6a35a8fefd6cb232
Author: Peter Foley
AuthorDate: Sun, 27 Nov 2016 21:43:46 -0500
Committer: Arnaldo Carvalho de Melo
CommitDate: Mon, 5 Dec 2016 15:51:42 -0300
tools build
On Tue, Nov 29, 2016 at 6:22 AM, Michal Marek wrote:
> Dne 28.11.2016 v 07:44 Peter Foley napsal(a):
> This adds new -Wno-* options also for the gcc case, is there a reason
> for this? Also, the -Wno-missing-field-initializers option is not
> available in some old gccs, so we would n
_first_dep = 1;
> - } else {
> + has_target = 1;
> + } else if (has_target) {
> /* Save this token/filename */
> memcpy(s, m, p-m);
> s[p - m] = 0;
> --
> 2.7.4
>
Acked-by: Peter Foley
On Mon, Nov 28, 2016 at 7:00 AM, Arnaldo Carvalho de Melo
wrote:
> After I applied this I started getting this:
>
> CC /tmp/build/perf/tests/sw-clock.o
> /tmp/build/perf/.plugin_jbd2.o.cmd:3: *** empty variable name. Stop.
> Makefile:192: recipe for target '/tmp/build/perf/plugin_jbd2-in.
Commit-ID: adee8705d2517f0e163ffc45e8d7f9e97a58f1f6
Gitweb: http://git.kernel.org/tip/adee8705d2517f0e163ffc45e8d7f9e97a58f1f6
Author: Peter Foley
AuthorDate: Sat, 26 Nov 2016 17:22:29 -0500
Committer: Ingo Molnar
CommitDate: Mon, 28 Nov 2016 07:47:22 +0100
x86/build: Annotate die
ernel
asm constructs.
Changes from v1:
* Move the $(cc-name) conditional below the definition of $(CC)
Changes from v2:
* Actually commit the changes in v2.
Changes from v3:
* HOSTCC is not guaranteed to be the same as CC, adjust accordingly.
Signed-off-by: Peter Foley
---
Makefile
7;cmp'
sort(p, n, sizeof(uint16_t), cmp, NULL);
^
2 errors generated.
v2:
rename function to __bch_cache_cmp
Signed-off-by: Peter Foley
---
drivers/md/bcache/sysfs.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/
Clang doesn't support multiple arguments being passed to -Wp, so split
them.
Fixes this error:
HOSTCC tools/objtool/fixdep.o
cat: tools/objtool/.fixdep.o.d: No such file or directory
v2:
rebased onto perf/core branch.
Signed-off-by: Peter Foley
---
tools/build/Build.include | 6 +++-
const unsigned int *cable);
^
1 error generated.
Signed-off-by: Peter Foley
---
include/linux/extcon/extcon-adc-jack.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/extcon/extcon-adc-jack.h
b/include/linux/
drivers/thermal/built-in.o: In function `type_show.lto_priv.33':
(.text+0x3d80): multiple definition of `type_show.lto_priv.33'
drivers/base/built-in.o:(.text+0x2a40): first defined here
Signed-off-by: Peter Foley
---
drivers/thermal/thermal_core.c | 4 ++--
1 file changed, 2 insert
7;cmp'
sort(p, n, sizeof(uint16_t), cmp, NULL);
^
2 errors generated.
Signed-off-by: Peter Foley
---
drivers/md/bcache/sysfs.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/md/bcache/sysfs.c b/drivers/md/bcac
ize the variable 'do_reloc' to
silence this warning
const char *symname);
^
= NULL
Signed-off-by: Peter Foley
---
arch/x86/tools/relocs.h | 2 +-
1 file changed, 1 insertion(
Clang doesn't support multiple arguments being passed to -Wp, so split
them.
Fixes this error:
HOSTCC tools/objtool/fixdep.o
cat: tools/objtool/.fixdep.o.d: No such file or directory
Signed-off-by: Peter Foley
---
tools/build/Build.include | 6 +++---
1 file changed, 3 insertions(
om v2:
* Actually commit the changes in v2.
Signed-off-by: Peter Foley
---
Makefile | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index 0ede48ba5aaf..94402cef6622 100644
--- a/Makefile
+++ b/Makefile
@@ -299,16 +299,6 @@ CONFIG_
ff-by: Peter Foley
---
Makefile | 23 +--
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/Makefile b/Makefile
index 0ede48ba5aaf..b69ad7e4a6d2 100644
--- a/Makefile
+++ b/Makefile
@@ -299,16 +299,6 @@ CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; th
Move definition of HOSTCC to allow use of cc-name.
Suppress warnings about unsupported optimization options.
Disable clang's integrated assembler which is incompatible with kernel
asm constructs.
Signed-off-by: Peter Foley
---
Makefile | 23 +--
1 file changed, 13 inser
On Mon, Oct 27, 2014 at 8:03 PM, Alexander Graf wrote:
> The prctl test code in Documentation/ tries to show how to
> use a call that only makes sense on x86. Restrict it there
> so that other platforms don't try to call asm("rdtsc").
>
> Signed-off-by: Alexande
;
> Commit adb19fb66ee (Documentation: add makefiles for more targets) is
> now building this by default, so it's failing the kernel build entirely.
>
> Switching the declaration from uint64_t to time_t does the right thing
> and handles the x32 case automatically.
>
> Signed-off
On Tue, Oct 21, 2014 at 10:45 AM, Jonathan Corbet wrote:
> OK, I've applied the fix with the extra space suggested by Paul. You
> should see it in the next linux-next.
Thanks!
Sorry for not respinning my patch sooner.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
On Wed, Oct 22, 2014 at 4:03 AM, Richard Cochran
wrote:
> In the mean time, I would like to restore the testptp.mk that *does*
> cross compile, so that people may use the test program if they
> want. In fact I use this all the time, and so I am a bit annoyed that
> something working was deleted an
On Fri, Oct 17, 2014 at 9:53 AM, Peter Foley wrote:
> Turns out this doesn't work if CROSS_COMPILE is set in the environment.
> I'll send another version shortly.
It seems there is more interested in cross-compiling Documentation
than I anticipated, so please ignore this as
On Tue, Oct 21, 2014 at 2:27 PM, Richard Cochran
wrote:
> On Tue, Oct 21, 2014 at 09:58:51AM -0700, David Daney wrote:
>> What I don't understand is why we are using hostprogs in this
>> Makefile. Isn't this a program that would run on the target, not
>> the build host?
>
> Yes.
>
> Peter, could
On Wed, Oct 8, 2014 at 7:31 PM, Peter Foley wrote:
> Don't build Documentation targets when cross-compiling.
> They are only for build testing, and use the host headers and compiler
> which can cause cross-compiles to fail.
>
Turns out this doesn't work if CROSS_COMPILE is
On Tue, Oct 14, 2014 at 12:46 AM, WANG Chao wrote:
> Supress this unnecessary message during kernel re-build
> (CONFIG_KEXEC_FILE=y):
>
> make[1]: `arch/x86/purgatory/kexec-purgatory.c' is up to date.
>
> Signed-off-by: WANG Chao
Acked-by: Peter Foley
--
To unsubscribe f
ibility of something like this happening is remote,
use sed to avoid potential harm from untrusted .config files.
Reported-by: Fox Wilson
Signed-off-by: Peter Foley
---
scripts/setlocalversion | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/setlocalversion
Don't build Documentation targets when cross-compiling.
They are only for build testing, and use the host headers and compiler
which can cause cross-compiles to fail.
Signed-off-by: Peter Foley
---
lib/Kconfig.debug | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
On Wed, Oct 8, 2014 at 5:21 PM, H. Peter Anvin wrote:
> That we can't solve, but it is not okay to break the kernel build.
Should I just make CONFIG_BUILD_DOCSRC depend on CROSS_COMPILE=""?
I'm not sure how much value would be added by implementing targetprogs
in kbuild, simply to increase build
On Wed, Oct 8, 2014 at 3:54 PM, H. Peter Anvin wrote:
> This still has the cross-build problems, no?
>
Yes, but that issue is more general to CONFIG_BUILD_DOCSRC.
This is just a build failure on x86-32.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a me
vdso_standalone_test_x86 needs -lgcc_s to build succesfully on 32bit.
Signed-off-by: Peter Foley
---
Documentation/vDSO/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile
index 2b99e57..5e5ad9f 100644
--- a/Documentation
On Wed, Oct 8, 2014 at 3:16 PM, Andy Lutomirski wrote:
> It should build and work on 32-bit.
>
> Except that the makefile is totally bogus. vdso_standalone_test isn't
> a hostprog at all. It's a target prog. But kbuild doesn't understand
> that, so I have no idea what, if anything, that makefil
sysfs.c includes mpssd.h which includes virtio_ids.h.
sysfs.c doesn't have the proper include flags set to use the latest
headers, so this causes a build error if the system headers are too old.
Signed-off-by: Peter Foley
Cc: rdun...@infradead.org
Cc: linux-...@vger.kernel.org
Cc: sud
sysfs.c includes mpssd.h which includes virtio_ids.h.
sysfs.c doesn't have the proper include flags set to use the latest
headers, so this causes a build error if the system headers are too old.
Signed-off-by: Peter Foley
Cc: rdun...@infradead.org
Cc: linux-...@vger.kernel.org
Cc: sud
Cc: rdun...@infradead.org
Cc: linux-...@vger.kernel.org
Cc: sudeep.d...@intel.com
Cc: nikhil@intel.com
Cc: ashutosh.di...@intel.com
Cc: a...@linux-foundation.org
Cc: gre...@linuxfoundation.org
Signed-off-by: Peter Foley
---
Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a
On Tue, Sep 23, 2014 at 8:51 PM, Andrew Morton
wrote:
> Can't we just fix the Makefiles? Cook up a rule which makes
> headers_install (if needed) before building Documentation/?
Currently, the ordering is enforced by
http://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/tree/Makefile#n
On Tue, Sep 23, 2014 at 7:38 PM, Andrew Morton
wrote:
> This build error is caused by compiling mpssd prior to `make
> headers_install'.
>
> There's really no reason to check the kernel version. If someone
> transplants mpssd out of its distributed kernel and into some older
> kernel then a misco
On Tue, Sep 23, 2014 at 6:59 PM, ashutosh dixit
wrote:
> Correct, if things in Documentation will be compiled against the headers
> in the kernel source tree then this patch is not required. However,
> Andrew had reported the following compile error:
>
>> In file included from Documentation/mic/mp
Add some more macros to tools/endian.h to allow mpssd to be compiled
against glibc < 2.9.
Signed-off-by: Peter Foley
Cc: rdun...@infradead.org
Cc: linux-...@vger.kernel.org
Cc: sudeep.d...@intel.com
Cc: nikhil@intel.com
Cc: ashutosh.di...@intel.com
Cc: a...@linux-foundation.org
Cc:
Remove empty networking/.gitignore
Signed-off-by: Peter Foley
Cc: rdun...@infradead.org
Cc: linux-...@vger.kernel.org
---
Documentation/networking/.gitignore | 0
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 Documentation/networking/.gitignore
diff --git a/Documentation
On Tue, Sep 23, 2014 at 5:55 PM, Ashutosh Dixit
wrote:
> mpssd depends on headers available in kernels >= 3.13. Therefore
> disable the build for kernels < 3.13. For kernels < 3.13, to avoid the
> appearance of a build break simply print an error message and exit.
>
Everything in Documentation sho
Remove empty networking/.gitignore
Signed-off-by: Peter Foley
---
Documentation/networking/.gitignore | 0
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 Documentation/networking/.gitignore
diff --git a/Documentation/networking/.gitignore
b/Documentation/networking
glibc versions older than 2.16 don't include sys/auxv.h which this
executable uses.
Since we don't have a good way to test for specific glibc versions in
kbuild, just disable it for now.
Signed-off-by: Peter Foley
---
Documentation/vDSO/Makefile | 4 ++--
1 file changed, 2 insert
On Tue, Sep 16, 2014 at 7:38 PM, Randy Dunlap wrote:
> I don't have a good answer to that, so yes, I suppose just
> disable it. Please send a patch.
Will do.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majo
On Tue, Sep 16, 2014 at 7:00 PM, Stephen Rothwell wrote:
> Hi Peter,
>
> My build machine runs Debian stable which only has libc6 version 2.13.
Ok, depending on a specific glibc version seems kinda hacky.
Maybe we should just disable auto-building vdso_test?
Randy?
--
To unsubscribe from this li
On Tue, Sep 16, 2014 at 3:11 AM, Stephen Rothwell wrote:
> Hi Randy,
>
> After merging the rd-docs tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> Documentation/vDSO/vdso_test.c:15:22: fatal error: sys/auxv.h: No such file
> or directory
>
What glibc version are you
On Sun, Sep 14, 2014 at 6:18 AM, Kirill Tkhai wrote:
> diff --git a/init/Makefile b/init/Makefile
> index 7bc47ee..566a9ff 100644
> --- a/init/Makefile
> +++ b/init/Makefile
> @@ -2,23 +2,28 @@
> # Makefile for the linux kernel.
> #
>
> -obj-y := main.o version.o mounts.
glibc 2.9 introduced the htole<16/32/64> macros, add them to
tools/include to support older versions of glibc.
Reported-by: Andrew Morton
Signed-off-by: Peter Foley
---
Documentation/arm/SH-Mobile/Makefile | 2 +-
Documentation/arm/SH-Mobile/vrl4.c | 1 +
Documentation/mic/mpssd/Ma
four are supported. So also eliminate the
> $(cc-option) wrap.
>
> Signed-off-by: Rasmus Villemoes
Acked-by: Peter Foley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.
ee).
>
> Now $(srctree) is "." when building in the source tree.
> It would not be annoying to add "$(srctree)/" all the time.
>
> Signed-off-by: Masahiro Yamada
Acked-by: Peter Foley
--
To unsubscribe from this list: send the line "unsubscr
need to know
> the exact message), moving --no-print-directory would be easier.
>
> Signed-off-by: Masahiro Yamada
Acked-by: Peter Foley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordo
On Tue, Sep 9, 2014 at 7:02 AM, Masahiro Yamada
wrote:
> This commit avoids processing C=... and M=... twice
> when O=... is also given.
>
> Besides, we can also remove KBUILD_EXTMOD="$(KBUILD_EXTMOD)"
> in the sub-make target.
>
> Signed-off-by: Masahiro Yamada
gt; "$(if $(KBUILD_VERBOSE:1=),@)" with "$(Q)".
>
> Signed-off-by: Masahiro Yamada
Acked-by: Peter Foley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://
also set to empty at the beginning
> of scripts/Makefile.build)
>
> Signed-off-by: Masahiro Yamada
Acked-by: Peter Foley
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info
On Tue, Sep 9, 2014 at 6:26 AM, Masahiro Yamada
wrote:
> In these Makefiles, at least one of "obj-y" and "obj-" is non-empty,
> hence built-in.o is always created without such a trick.
>
> Signed-off-by: Masahiro Yamada
Acked-by: Peter Foley
--
To unsubscri
On Tue, Sep 9, 2014 at 6:26 AM, Masahiro Yamada
wrote:
> Kconfig never defines CONFIG_* as 'n'.
> Now obj-n is only used in firmware/Makefile and it can be
> replaced with obj-. No makefile uses lib-n.
>
> Let's rip off obj-n and lib-n.
>
> Signed-off-by: Mas
Add some missing files to .gitignore.
Push Documentation/.gitignore down into subdirectories.
Signed-off-by: Peter Foley
---
Documentation/.gitignore | 7 ---
Documentation/arm/SH-Mobile/.gitignore | 1 +
Documentation/filesystems/.gitignore | 1
Signed-off-by: Peter Foley
---
Documentation/vDSO/Makefile | 9 ++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/Documentation/vDSO/Makefile b/Documentation/vDSO/Makefile
index 6cbd612..d87bb29 100644
--- a/Documentation/vDSO/Makefile
+++ b/Documentation/vDSO/Makefile
On Tue, Sep 2, 2014 at 7:29 PM, Mark Brown wrote:
> Your tree either wasn't in the control file that Stephen handed off or
> got eaten by one off his scripts for some reason. I've tried adding it
> back, we'll see if that works tomorrow.
The patches still seem to be missing from the 20140903 -ne
On Mon, Aug 25, 2014 at 4:33 PM, Randy Dunlap wrote:
> On 04/17/14 07:11, Peter Foley wrote:
> Hi Peter,
>
> Sorry about the delay and thanks for the patches.
>
> I have now applied all 4 of these patches, with a few small changes in
> Documentation/laptops/ to account for h
Signed-off-by: Peter Foley
---
Documentation/arm/SH-Mobile/vrl4.c| 6 +++---
Documentation/laptops/hpfall.c| 16
Documentation/prctl/disable-tsc-ctxt-sw-stress-test.c | 11 ++-
Documentation/prctl/disable-tsc-on-off-stress
Fix a few warnings that gcc emits during a default build.
Signed-off-by: Peter Foley
---
Documentation/laptops/hpfall.c | 9 +++--
Documentation/mic/mpssd/mpssd.c | 4 ++--
Documentation/ptp/testptp.c | 6 +++---
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a
Change the Documentation makefiles from obj-m to subdir-y
to avoid generating unnecessary built-in.o files since nothing
in Documentation/ is ever linked in to vmlinux.
Signed-off-by: Peter Foley
---
Documentation/Makefile | 6 +++---
Documentation/accounting/Makefile
Add a bunch of previously unbuilt source files to the Documentation build
machinery.
Signed-off-by: Peter Foley
---
Documentation/Makefile | 7 +++---
Documentation/arm/Makefile | 1 +
Documentation/arm/SH-Mobile/Makefile | 11
Commit-ID: a9358bc3531901a15e2f7cd48550c9555fc0288f
Gitweb: http://git.kernel.org/tip/a9358bc3531901a15e2f7cd48550c9555fc0288f
Author: Peter Foley
AuthorDate: Tue, 15 Apr 2014 13:58:13 -0400
Committer: Ingo Molnar
CommitDate: Wed, 16 Apr 2014 15:17:24 +0200
x86/build: Supress
Commit-ID: 96f4c760d99afae7da28628b30211cd3bf0958d5
Gitweb: http://git.kernel.org/tip/96f4c760d99afae7da28628b30211cd3bf0958d5
Author: Peter Foley
AuthorDate: Tue, 15 Apr 2014 13:58:13 -0400
Committer: Ingo Molnar
CommitDate: Wed, 16 Apr 2014 08:57:18 +0200
x86/build: Supress
suppress the below unnecessary message.
make[3]: 'arch/x86/realmode/rm/realmode.bin' is up to date.
Signed-off-by: Peter Foley
---
arch/x86/realmode/rm/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/x86/realmode/rm/Makefile b/arch/x86/realmode/r
The SYSTEM_TRUSTED_KEYRING config option is not in any menu,
causing it to show up in the toplevel of the kernel configuration.
Fix this by moving it under the General Setup menu.
Signed-off-by: Peter Foley
---
init/Kconfig | 24
1 file changed, 12 insertions(+), 12
|| COMPILE_TEST))
Signed-off-by: Peter Foley
---
drivers/ata/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index 20e03a7..071f399 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -134,7 +134,7 @@ config AHCI
On Wed, Apr 9, 2014 at 10:14 AM, Michal Marek wrote:
> ccing x86 maintainers
>
> On 2014-04-09 09:15, Masahiro Yamada wrote:
>> When we compiled again, arch/x86/syscalls/Makefile and
>> arch/x86/tools/Makefile emitted "Nothing to be done for ..." messages.
>>
>> Here is the command log:
>>
>> $
kefile
> index e812034..95e3ed7 100644
> --- a/arch/x86/tools/Makefile
> +++ b/arch/x86/tools/Makefile
> @@ -41,3 +41,4 @@ HOST_EXTRACFLAGS += -I$(srctree)/tools/include
> hostprogs-y+= relocs
> relocs-objs := relocs_32.o relocs_64.o relocs_common.o
> relocs: $(obj)/relocs
> +
On Sun, Dec 9, 2012 at 7:08 PM, Rusty Russell wrote:
> Michal Marek writes:
>> Added David and Rusty.
>>
>> On Sun, Nov 18, 2012 at 03:05:14PM -0500, pefol...@verizon.net wrote:
>>> From: Peter Foley
>>>
>>> Silence the touch extra_certifi
70 matches
Mail list logo