From: Or Gerlitz <ogerlitz@mellanox.com>
To: Scott Feldman <sfeldma@gmail.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Jiri Pirko <jiri@resnulli.us>
Subject: gone with the spring cleanup..
Date: Wed, 13 May 2015 12:12:45 +0300 [thread overview]
Message-ID: <5553158D.7000108@mellanox.com> (raw)
Hi Scott, Jiri
So, following the spring cleanup, my builder (which turns to have pretty
old GCC 4.4.6) isn't functional anymore w.r.t net-next... I checked on
different station and it works on GCC 4.9.2.
I would love us to get this fixed, please let me know if you need more
info, below is the build verbose command line build error.
Few more pieces of info, changing -std=gnu89to -std=gnu99didn't help.
Also the command line where it does work (4.9.2) uses -std=gnu89
Or.
gcc -Wp,-MD,net/switchdev/.switchdev.o.d -nostdinc -isystem
/usr/lib/gcc/x86_64-redhat-linux/4.4.6/include -I./arch/x86/include
-Iarch/x86/include/generated/uapi -Iarch/x86/include/generated
-Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi
-I./include/uapi -Iinclude/generated/uapi -include
./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security -std=gnu89
-m64 -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone
-mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1
-DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1
-DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-mno-avx -fno-delete-null-pointer-checks -Os -Wframe-larger-than=2048
-fno-stack-protector -Wno-unused-but-set-variable
-fno-omit-frame-pointer -fno-optimize-sibling-calls
-fno-var-tracking-assignments -g -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack
-Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(switchdev)"
-D"KBUILD_MODNAME=KBUILD_STR(switchdev)" -c -o
net/switchdev/.tmp_switchdev.o net/switchdev/switchdev.c
net/switchdev/switchdev.c: In function 'switchdev_fib_ipv4_add':
net/switchdev/switchdev.c:646: error: unknown field 'ipv4_fib' specified
in initializer
net/switchdev/switchdev.c:646: warning: braces around scalar initializer
net/switchdev/switchdev.c:646: warning: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:647: error: field name not in record or union
initializer
net/switchdev/switchdev.c:647: error: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:648: error: field name not in record or union
initializer
net/switchdev/switchdev.c:648: error: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:648: warning: excess elements in scalar
initializer
net/switchdev/switchdev.c:648: warning: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:649: error: field name not in record or union
initializer
net/switchdev/switchdev.c:649: error: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:649: warning: excess elements in scalar
initializer
net/switchdev/switchdev.c:649: warning: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:650: error: field name not in record or union
initializer
net/switchdev/switchdev.c:650: error: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:650: warning: excess elements in scalar
initializer
net/switchdev/switchdev.c:650: warning: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:651: error: field name not in record or union
initializer
net/switchdev/switchdev.c:651: error: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:651: warning: excess elements in scalar
initializer
net/switchdev/switchdev.c:651: warning: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:652: error: field name not in record or union
initializer
net/switchdev/switchdev.c:652: error: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:652: warning: excess elements in scalar
initializer
net/switchdev/switchdev.c:652: warning: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:653: error: field name not in record or union
initializer
net/switchdev/switchdev.c:653: error: (near initialization for
'fib_obj.trans')
net/switchdev/switchdev.c:653: warning: excess elements in scalar
initializer
net/switchdev/switchdev.c:653: warning: (near initialization for
'fib_obj.trans')
next reply other threads:[~2015-05-13 9:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-13 9:12 Or Gerlitz [this message]
2015-05-13 10:38 ` gone with the spring cleanup Jiri Pirko
2015-05-13 10:42 ` Jiri Pirko
2015-05-13 10:55 ` Or Gerlitz
2015-05-13 11:26 ` Daniel Borkmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5553158D.7000108@mellanox.com \
--to=ogerlitz@mellanox.com \
--cc=jiri@resnulli.us \
--cc=netdev@vger.kernel.org \
--cc=sfeldma@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).