[Bug 1094222] New: gcc-8 on opensuse tumbleweed points to wrong location when displaying error
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Bug ID: 1094222 Summary: gcc-8 on opensuse tumbleweed points to wrong location when displaying error Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: jmcdonough@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 770999 --> http://bugzilla.suse.com/attachment.cgi?id=770999&action=edit .i file from building lib/util/debug.c Compiling the latest upstream samba with -O3, -Werror, among other flags, fails but doesn't point to the correct error location. The line it's giving us doesn't make any sense for the error printed. Below is the failing command and error messages. I'll attach the .i as well. gcc-8 -O3 -DDEVELOPER -DDEBUG_PASSWORD -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -fstack-protector -g -Wall -Wshadow -Wmissing-prototypes -Wcast-align -Wcast-qual -fno-common -Werror=address -Werror=strict-prototypes -Wstrict-prototypes -Werror=write-strings -Wwrite-strings -Werror-implicit-function-declaration -Werror=pointer-arith -Wpointer-arith -Werror=declaration-after-statement -Wdeclaration-after-statement -Werror=return-type -Wreturn-type -Werror=uninitialized -Wuninitialized -Wimplicit-fallthrough -Werror=strict-overflow -Wstrict-overflow=2 -Wformat=2 -Wno-format-y2k -Wno-format-zero-length -Werror=format-security -Wformat-security -Werror=format -Werror -Wno-error=deprecated-declarations -Wno-error=tautological-compare -DSTATIC_samba_debug_MODULES=NULL -DSTATIC_samba_debug_MODULES_PROTO="extern void __samba_debug_dummy_module_proto(void)" -MD -Idefault/include/public -I../include/public -Idefault/source4 -I../source4 -Idefault/lib -I../lib -Idefault/source4/lib -I../source4/lib -Idefault/source4/include -I../source4/include -Idefault/include -I../include -Idefault/lib/replace -I../lib/replace -Idefault -I.. -Idefault/lib/talloc -I../lib/talloc -I/usr/local/include -D_SAMBA_BUILD_=4 -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -D_XOPEN_SOURCE_EXTENDED=1 ../lib/util/debug.c -c -save-temps -o default/lib/util/debug_11.o ../lib/util/debug.c: In function 'debug_parse_levels': ../lib/util/debug.c:796:5: error: assuming pointer wraparound does not occur when comparing P +- C1 with P +- C2 [-Werror=strict-overflow] bool debug_parse_levels(const char *params_str) ^~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 James McDonough <jmcdonough@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asn@cryptomilk.org -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |matz@suse.com |ovo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c1 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Assignee|matz@suse.com |rguenther@suse.com --- Comment #1 from Richard Biener <rguenther@suse.com> --- The diagnostic is emitted from tree-data-ref.c:create_intersect_range_checks which is internal infrastructure that shouldn't emit such warnings. I am testing a patch. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c2 --- Comment #2 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1094222) was mentioned in https://build.opensuse.org/request/show/611536 Factory / gcc8 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |ibs:running:8624:low | |ibs:running:8625:low -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c4 --- Comment #4 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2018:3096-1: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 1084812,1084842,1087550,1094222,1102564 CVE References: Sources used: SUSE OpenStack Cloud 7 (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Software Development Kit 12-SP3 (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Server for SAP 12-SP2 (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Server for SAP 12-SP1 (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Server 12-SP3 (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Server 12-SP2-LTSS (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Server 12-SP1-LTSS (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Server 12-LTSS (src): gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Module for Toolchain 12 (src): cross-nvptx-gcc8-8.2.1+r264010-1.3.1, gcc8-8.2.1+r264010-1.3.3 SUSE Linux Enterprise Desktop 12-SP3 (src): gcc8-8.2.1+r264010-1.3.3 SUSE Enterprise Storage 4 (src): gcc8-8.2.1+r264010-1.3.3 SUSE CaaS Platform ALL (src): gcc8-8.2.1+r264010-1.3.3 SUSE CaaS Platform 3.0 (src): gcc8-8.2.1+r264010-1.3.3 OpenStack Cloud Magnum Orchestration 7 (src): gcc8-8.2.1+r264010-1.3.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c5 --- Comment #5 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2018:3096-2: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 1084812,1084842,1087550,1094222,1102564 CVE References: Sources used: SUSE Linux Enterprise Server 12-SP2-BCL (src): gcc8-8.2.1+r264010-1.3.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-OU-2018:3541-1: An update that has 5 optional fixes can now be installed. Category: optional (low) Bug References: 1084812,1084842,1087550,1094222,1102564 CVE References: Sources used: openSUSE Leap 42.3 (src): cross-nvptx-gcc8-8.2.1+r264010-2.1, gcc8-8.2.1+r264010-2.3, gcc8-testresults-8.2.1+r264010-2.2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2018:3655-1: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 1084812,1084842,1087550,1094222,1102564 CVE References: Sources used: SUSE Linux Enterprise Module for Development Tools 15 (src): cross-nvptx-gcc8-8.2.1+r264010-1.3.3, gcc8-8.2.1+r264010-1.3.7 SUSE Linux Enterprise Module for Basesystem 15 (src): gcc8-8.2.1+r264010-1.3.7 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:8624:low | |ibs:running:8625:low | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:9209:low -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c8 --- Comment #8 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2018:4172-1: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 1084812,1084842,1087550,1094222,1102564 CVE References: Sources used: openSUSE Leap 15.0 (src): cross-nvptx-gcc8-8.2.1+r264010-lp150.2.1, gcc8-8.2.1+r264010-lp150.2.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:9209:low | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c9 --- Comment #9 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2018:3655-2: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 1084812,1084842,1087550,1094222,1102564 CVE References: Sources used: SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src): gcc8-8.2.1+r264010-1.3.7 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 http://bugzilla.suse.com/show_bug.cgi?id=1094222#c10 Richard Biener <rguenther@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #10 from Richard Biener <rguenther@suse.com> --- Fixed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:9209:low -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1094222 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:9209:low | -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1094222 https://bugzilla.suse.com/show_bug.cgi?id=1094222#c15 --- Comment #15 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2018:3655-3: An update that has 5 recommended fixes can now be installed. Category: recommended (low) Bug References: 1084812,1084842,1087550,1094222,1102564 CVE References: JIRA References: Sources used: SUSE Linux Enterprise Server for SAP 15 (src): cross-nvptx-gcc8-8.2.1+r264010-1.3.3, gcc8-8.2.1+r264010-1.3.7 SUSE Linux Enterprise High Performance Computing 15-LTSS (src): cross-nvptx-gcc8-8.2.1+r264010-1.3.3, gcc8-8.2.1+r264010-1.3.7 SUSE Linux Enterprise High Performance Computing 15-ESPOS (src): cross-nvptx-gcc8-8.2.1+r264010-1.3.3, gcc8-8.2.1+r264010-1.3.7 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com