Hello community,
here is the log from the commit of package post-build-checks for
openSUSE:Factory checked in at 2019-07-29 17:24:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
and /work/SRC/openSUSE:Factory/.post-build-checks.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "post-build-checks"
Mon Jul 29 17:24:23 2019 rev:94 rq:715664 version:84.88+git20190716.5a0e034
Changes:
--------
--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes
2019-07-08 15:09:35.867262921 +0200
+++
/work/SRC/openSUSE:Factory/.post-build-checks.new.4126/post-build-checks.changes
2019-07-29 17:24:24.890346111 +0200
@@ -1,0 +2,18 @@
+Tue Jul 16 11:32:46 UTC 2019 - [email protected]
+
+- Update to version 84.88+git20190716.5a0e034:
+ * Remove unused tests.
+
+-------------------------------------------------------------------
+Fri Jul 12 10:06:12 UTC 2019 - Martin Liška <[email protected]>
+
+- Disable tests as GCC checks are gone.
+
+-------------------------------------------------------------------
+Thu Jul 11 15:57:33 UTC 2019 - [email protected]
+
+- Update to version 84.88+git20190711.2b1c662:
+ https://github.com/openSUSE/post-build-checks/pull/26
+ * Remove GCC check output check.
+
+-------------------------------------------------------------------
Old:
----
post-build-checks-84.88+git20190702.429d0e0.tar.xz
New:
----
post-build-checks-84.88+git20190716.5a0e034.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ post-build-checks.spec ++++++
--- /var/tmp/diff_new_pack.VRe2e3/_old 2019-07-29 17:24:25.362345936 +0200
+++ /var/tmp/diff_new_pack.VRe2e3/_new 2019-07-29 17:24:25.366345935 +0200
@@ -16,13 +16,13 @@
#
-%define version_unconverted 84.88+git20190702.429d0e0
+%define version_unconverted 84.88+git20190716.5a0e034
Name: post-build-checks
Summary: post checks for build after rpms have been created
License: GPL-2.0-or-later
Group: Development/Tools/Building
-Version: 84.88+git20190702.429d0e0
+Version: 84.88+git20190716.5a0e034
Release: 0
PreReq: aaa_base permissions sed
Requires: aaa_base-malloccheck
@@ -68,12 +68,6 @@
install -m 644 -D suse-ignored-rpaths.conf
$RPM_BUILD_ROOT/etc/suse-ignored-rpaths.conf
chmod 755 $RPM_BUILD_ROOT/usr/lib/build/checks-data/check*
-%check
-for i in tests/xx*.c
-do
- (echo "Executing(%%build)" ; gcc $RPM_OPT_FLAGS -c $i 2>&1)|
checks-data/check_gcc_output 2>&1|grep "^[WE]"
-done
-
%post
# do nothing when not in a build chroot
if ! test -e /.buildenv; then
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.VRe2e3/_old 2019-07-29 17:24:25.402345921 +0200
+++ /var/tmp/diff_new_pack.VRe2e3/_new 2019-07-29 17:24:25.402345921 +0200
@@ -1,5 +1,5 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/openSUSE/post-build-checks.git</param>
- <param
name="changesrevision">b3024ef7443ef0a77cb227ce824e3be2010aa071</param></service>
+ <param
name="changesrevision">78a6c62fee7bcbac6433f62dba77c48819e162f1</param></service>
</servicedata>
\ No newline at end of file
++++++ post-build-checks-84.88+git20190702.429d0e0.tar.xz ->
post-build-checks-84.88+git20190716.5a0e034.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/checks/50-check-gcc-output
new/post-build-checks-84.88+git20190716.5a0e034/checks/50-check-gcc-output
--- old/post-build-checks-84.88+git20190702.429d0e0/checks/50-check-gcc-output
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/checks/50-check-gcc-output
1970-01-01 01:00:00.000000000 +0100
@@ -1,23 +0,0 @@
-#!/bin/bash
-# Check for dangerous compiler warnings
-#
-
-test -z "$LOGFILE" && LOGFILE=$BUILD_ROOT/.build.log
-
-case $PNAME in
- kernel-*) exit 0 ;;
-esac
-
-if [ -f $LOGFILE ]; then
-
- echo "... testing for serious compiler warnings"
- echo " (using /usr/lib/build/checks-data/check_gcc_output)"
- echo " (using $LOGFILE)"
-
- $BUILD_ROOT/usr/lib/build/checks-data/check_gcc_output $LOGFILE
- if [ $? -ne 0 ]; then
- exit 1;
- fi
-fi
-
-exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/checks-data/check_gcc_output
new/post-build-checks-84.88+git20190716.5a0e034/checks-data/check_gcc_output
---
old/post-build-checks-84.88+git20190702.429d0e0/checks-data/check_gcc_output
2019-07-02 15:19:01.000000000 +0200
+++
new/post-build-checks-84.88+git20190716.5a0e034/checks-data/check_gcc_output
1970-01-01 01:00:00.000000000 +0100
@@ -1,251 +0,0 @@
-#!/usr/bin/perl -w
-# vim:sw=4:et:
-
-use strict;
-
-# Re-adopted 2007 by Dirk Mueller, used code from
-# 2004 by Mads Martin Joergensen inspired by the original by
-# Andi Kleen, SuSE Labs who
-# based it on a python script by David Mosberger which was
-# Copyright (c) 2004 Hewlett-Packard Development Company, L.P.
-# David Mosberger <[email protected]>
-
-# HOWTO:
-# a) add a new regexp to %warn_checks. Key is regexp, Value is identifier
-# b) optional: add an informative message to %warn_desc, Key is identifier,
Value is message
-# c) add severity to %warn_severity: Key is identifier, Value is 'E' (error)
'W' (warning) or 'D' (debug)
-
-my %warn_checks = (
- 'warning:.*makes pointer from integer without a cast' =>
"64bit-portability-issue",
- 'warning:.*operation on .* may be undefined' => "sequence-point",
- 'warning:.*mathematical meaning' => "mathmeaning",
- 'warning:.*ignoring return value of (?:.*alloc.*|set.*uid), declared with'
=> "unchecked-return-value",
- 'warning:.*type-punned.*strict-aliasing' => "strict-aliasing-punning",
- 'warning:.*control reaches end of non-void function' =>
"no-return-in-nonvoid-function",
- 'warning:.*no return statement in function returning non-void' =>
"no-return-in-nonvoid-function",
- 'warning:.*format not a string literal and no format arguments' =>
"format-security",
- 'warning:.*missing sentinel in function call' => "missing-sentinel",
- 'warning:.*call to .* will always overflow destination buffer' =>
"bufferoverflow",
- 'warning:.*call to .*strncat.* might overflow destination buffer' =>
"bufferoverflowstrncat",
- 'warning:.*(called with bigger.*destination buffer)|(writing .* bytes into
a region of size .* overflows the destination)' => "destbufferoverflow",
- 'warning:.*is used uninitialized in this function' =>
"uninitialized-variable",
- 'warning:.*too few arguments for format' => "missing-arg-for-fmt-string",
- "warning:.*implicit
[^\']*'(recv|recvfrom|read|pread|pread64|readlink|getwd|getcwd|fgets|fgets_unlock|strncat|strcat|memmove|memcpy|mempcpy|memcmp|strpcpy|strcpy|strchr|strncpy|printf|sprintf|snprintf|vprintf|vsprintf|vsnprintf|fprintf|vfprintf|gets|memset|bzero|bcopy|strlen|strcmp|wcscpy|wcpcpy|wcsncpy|wcpncpy|wcscat|swprintf|vswprintf|fgetws|wcsrtombs|mbsrtowcs|wcrtomb|wcsnrtombs|ptsname|realpath|wctomb|mbstowcs|ttyname_r|getlogin_r|getgroups|confstr|gethostname|getdomainname|puts|seteuid|setuid|setresuid|setgid|setegid|execvp|setgroups|setfsuid|setfsgid|setresgid|setresuid|pwrite|pread)'"
=> "implicit-fortify-decl",
- 'warning:.*memset used with constant zero length parameter' =>
"memset-with-zero-length",
- 'warning:.*comparison with string literal' => "stringcompare",
- "warning:.*'return' with no value, in function returning non-void" =>
"voidreturn",
- 'warning:.*array subscript is (below|above) array bounds' =>
"arraysubscript",
- "warning:.*implicit
[^\']*'(time|unlink|isspace|qsort|finite|abs|wait3|iswprint|toupper|tolower|fileno|ftruncate|fchmod|wcwidth|isalnum|isspace|utime|access|mkdir|fputchar|close|atoi|free|geteuid|getuid|getresgid|getresuid|getopt|getpgid|srand48|initgroups|rand|ctime|putenv|fork|open|dup|pipe|ioctl|mkstemp|dirname|basename|isdigit|inet_addr|asprintf|getsid|realloc|wait|gettext|write|isatty|tputs|strtol|strtod|spawn|vfork|kill|clearenv|strerror|strdup|strcmp|openpty|ntohl|iopl|outl|gettimeofday|malloc|strncmp|printf|flock|abort|fclose|fabs|cos|inet_aton|atoi|strstr|sin|system|waitpid|dup2|lseek|strlcat|shutdown|calloc|sigset|rename|chdir|strcasecmp|strlcpy)'"
=> "implicit-pointer-decl"
-);
-
-my %warn_desc = (
- "strict-aliasing-punning" => "Program is likely to break with new gcc.
Try -fno-strict-aliasing.\n",
- "sequence-point" => "Program causes undefined operation\n(likely same
variable used twice" .
- " and post/pre incremented in the same expression).\n" .
- "e.g. x = x++; Split it in two operations.",
- "mathmeaning" => "Program uses operation a <= b <= c, which is not well
defined.\n",
- "no-return-in-nonvoid-function" => "Program returns random data in a
function",
- "missing-sentinel" => "Function call needs to pass NULL-pointer as last
argument",
- "bufferoverflow" => "Statement is overflowing a buffer",
- "bufferoverflowstrncat" => "Statement might be overflowing a buffer in
strncat. Common mistake:\n" .
- "BAD: strncat(buffer,charptr,sizeof(buffer)) is wrong, it takes
the left over size as 3rd argument\n" .
- "GOOD: strncat(buffer,charptr,sizeof(buffer)-strlen(buffer)-1)\n",
- "destbufferoverflow" => "Statement might potentially overflow a
destination buffer, where a size larger\n" .
- " than the actual buffer was specified\n",
- "missing-arg-for-fmt-string" => "Function call is passing too few
arguments to a *printf function.\n",
- "uninitialized-variable" => "Program is using uninitialized
variables.\nNote the difference between \"is used\" and \"may be used\"",
- "format-security" => "Function call uses possibly exploitable format
strings\n",
- "stringcompare" => "Expression compares a char* pointer with a string
literal.\n" .
- "Usually a strcmp() was intended by the programmer\n",
- "unchecked-return-value" => "Program ignores return value at critical
places",
- "memset-with-zero-length" => "There are likely swapped arguments in a
memset\n" .
- "Check that the function arguments match:
memset(ptr,BYTEVALUE,LENGTH)\n",
-
- "implicit-fortify-decl" => "Program is using implicit definitions of
special functions.\n" .
- "these functions need to use their correct prototypes to
allow\n" .
- "the lightweight buffer overflow checking to work.\n" .
- " - Implicit memory/string functions need #include
<string.h>.\n".
- " - Implicit *printf functions need #include <stdio.h>.\n"
.
- " - Implicit *printf functions need #include <stdio.h>.\n"
.
- " - Implicit *read* functions need #include <unistd.h>.\n"
.
- " - Implicit *recv* functions need #include
<sys/socket.h>.\n",
- "no-rpm-opt-flags" => "File is compiled without RPM_OPT_FLAGS",
-
- "voidreturn" => "A function uses a 'return;' statement, but has actually
a value\n" .
- "to return, like an integer ('return 42;') or similar.\n",
- "arraysubscript" => "A function overflows or underflows an array access.
This could be a real error,\n" .
- "but occasionaly this condition is also misdetected
due to loop unrolling or strange pointer\n" .
- "handling. So this is warning only, please review.\n",
- "implicit-pointer-decl" => "Program is using implicit definitions of
functions getting\n" .
- "pointers or implemented by macros. These functions need to
use their\n" .
- "correct prototypes to allow correct argument passing on
e.g. x86_64 .\n" .
- " - Implicit memory/string functions need #include
<string.h>.\n".
- " - Implicit *printf functions need #include <stdio.h>.\n"
.
- " - Implicit *printf functions need #include <stdio.h>.\n"
.
- " - Implicit *read* functions need #include <unistd.h>.\n"
.
- " - Implicit *recv* functions need #include
<sys/socket.h>.\n",
-);
-
-my %warn_severity = (
- "64bit-portability-issue" => 'E',
- "strict-aliasing-punning" => 'W',
- "no-return-in-nonvoid-function" => 'E',
- "missing-sentinel" => 'E',
- "bufferoverflow" => 'E',
- "destbufferoverflow" => 'E',
- "memset-with-zero-length" => 'W',
- "missing-arg-for-fmt-string" => 'W',
- "implicit-fortify-decl" => 'W',
- "format-security" => 'W',
- "unchecked-return-value" => 'E',
- "mathmeaning" => 'E',
- "no-rpm-opt-flags" => 'W',
- "sequence-point" => 'W',
- "bufferoverflowstrncat" => 'E',
- "stringcompare" => 'E',
- "uninitialized-variable" => 'W',
- "voidreturn" => 'W',
- "arraysubscript" => 'W',
- "implicit-pointer-decl" => 'W',
-);
-
-#----------------------------------------------------------------------
-
-my %warnings = ();
-
-my $inline_location = "";
-
-sub add_warning($$)
-{
- my ($warntype, $warnline) = @_;
-
- my ($filename, $linenum) = (split /:/, $warnline)[0,1];
-
- ($filename, $linenum) = ($1, $2)
- if ($warnline =~ m/\/usr\/include\/bits/ &&
- $inline_location =~ m/ at (\S+):(\d+)/);
-
- defined($filename) or die;
- defined($warnline) or die;
- defined($warntype) or die;
- my $len = defined($warnings{$warntype}{$filename})
- ? length($warnings{$warntype}{$filename}) : 0;
-
- if($len > 0) {
- $warnings{$warntype}{$filename} .= ", $linenum"
- if ($warnings{$warntype}{$filename} !~ /\Q$linenum\E/);
- } else {
- $warnings{$warntype}{$filename} = $linenum;
- }
-}
-
-my $warn_package = $ENV{'PNAME'} || "build";
-
-sub print_warning($)
-{
- my ($warntype) = @_;
- return if (!defined($warnings{$warntype}));
- if (defined($warn_desc{$warntype})) {
- my $prefix = "\nI:";
- foreach my $l (split /^/, $warn_desc{$warntype}) {
- chomp $l;
- print STDERR "$prefix $l\n";
- $prefix = " ";
- }
- }
-
- foreach my $filename (sort keys %{$warnings{$warntype}}) {
- print STDERR "$warn_severity{$warntype}: $warn_package $warntype
$filename:$warnings{$warntype}{$filename}\n";
- }
-}
-
-my $warn_monster;
-
-sub analyze_for_warning($)
-{
- my ($line) = @_;
- $line =~ s/\e\[[\d;]*[a-zA-Z]//g;
-
- # inlined from 'void log_status_write(UPSINFO*, char*, ...)' at
reports.c:110
- $inline_location = $line if ($line =~ /^\s+inlined from .* at/);
- if ($line =~ /$warn_monster/o) {
- # somehow I cannot precompile the regex directly, though it would
- # help here
- foreach my $w (keys %warn_checks) {
- if ($line =~ $w) {
- &add_warning($warn_checks{$w}, $_);
- last;
- }
- }
- }
-}
-
-sub sanity_check()
-{
- foreach my $w(values %warn_checks) {
- die "undefined severity for $w"
- if (!defined($warn_severity{$w}));
- die "warntype contains a space: $w"
- if ($w =~ /\s+/);
- die "warntype is not descriptive: $w"
- if (length($w) < 8);
- }
- $warn_monster = "(?:" . join('|', sort keys %warn_checks) . ")";
-}
-
-&sanity_check();
-
-my $in_build_stage = 0;
-
-while (<>) {
- chomp;
- s, +, ,g;
- s/^\[ *\d+s\] //;
- next if (m,/usr/include/c\+\+/,);
-
- $in_build_stage = 1 if (/^Executing\(\%build/);
- next if $in_build_stage == 0;
- last if (/^Executing\(\%install/);
-
- # We should only abort for implicits when using fortify...
- if (/(gcc|cc|g\+\+|c\+\+) .*-D_FORTIFY_SOURCE/ ||
- /(gcc|cc|g\+\+|c\+\+) .*-ffortify/ ) {
- if (! /-U_FORTIFY_SOURCE/ &&
- ! /-fno-fortify/ &&
- ! /-ffortify=0/ ) {
- $warn_severity{"implicit-fortify-decl"} = 'E';
- }
- }
-
- # Detect if we are compiling and if the program uses RPM_OPT_FLAGS.
- my $iscompilerline = 0;
- if (/^(|.*[\s;\/]+)(gcc|cc|c\+\+|g\+\+) .*/i) {
- # avoid make dep lines...
- $iscompilerline = 1 if (! /(-E|-MD|-MM|-shared|gccmakedep)/);
- $iscompilerline = 1 if (/(-MD|-MM)/ && /\.o /); # -MD or -MM and
object output
- }
- # libtool needs some special love.
- $iscompilerline = 1 if (/libtool.*--mode=compile.*(gcc|cc|g\+\+)/i);
- # If a line has -fstack-clash-protection in it assume it uses
RPM_OPT_FLAGS.
- # If you avoid this check by adding -fml, we will hack your hands off.
- if ($iscompilerline && ! /-fstack-clash-protection/ && /\.c/i) {
- # split away "foo.c" or foo.c; or similar too.
- foreach my $f(grep(/\.c(pp|c)?$/,split(/[ "';`]/))) {
- &add_warning("no-rpm-opt-flags", "<cmdline>:$f");
- }
- }
-
- &analyze_for_warning($_);
-}
-
-my $had_error = 0;
-
-foreach my $s ('D', 'W', 'E') {
- foreach my $w (sort (values %warn_checks, "no-rpm-opt-flags")) {
- next if $warn_severity{$w} ne $s;
- &print_warning($w);
- $had_error = 1
- if (defined($warnings{$w}) && $warn_severity{$w} eq 'E');
- }
-}
-exit $had_error;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx1.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx1.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx1.c 2019-07-02
15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx1.c 1970-01-01
01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-int main(int argc, char **x) {
- int i = argc;
-
- i = i++*i++;
- return i;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx10.BROKEN.C
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx10.BROKEN.C
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx10.BROKEN.C
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx10.BROKEN.C
1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#include <string.h>
-
-char buf[10];
-int main(int argc, char **argv) {
- strcpy(buf,argv[0]);
- strncat(buf,"world!",sizeof(buf));
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx11.BROKEN.C
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx11.BROKEN.C
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx11.BROKEN.C
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx11.BROKEN.C
1970-01-01 01:00:00.000000000 +0100
@@ -1,8 +0,0 @@
-#include <string.h>
-
-char buf[6];
-int main(int argc, char **argv) {
- strcpy(buf,"hello ");
- strcat(buf,"world!");
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx12.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx12.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx12.c
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx12.c
1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#include <stdio.h>
-int main(int argc, char **argv) {
- char buf[20];
- fgets(buf, 21, stdin);
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx13.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx13.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx13.c
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx13.c
1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-int main(int argc, char **argv) {
- int i;
-
- return i;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx14.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx14.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx14.c
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx14.c
1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-int main(int argc, char **argv) {
- argv[0] = argc;
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx15.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx15.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx15.c
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx15.c
1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-int a,b,c;
-int main(int argc, char **argv) {
- return a <= b <= c;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx16.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx16.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx16.c
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx16.c
1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-int foo()
-{
- int i;
- *(long*)&i = 0; /* { dg-warning "type-punn" } */
- return i;
-}
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx2.BROKEN.C
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx2.BROKEN.C
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx2.BROKEN.C
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx2.BROKEN.C
1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#include <string.h>
-char buf[20];
-int main(int argc, char **x) {
- memset(buf,20,0);
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx3.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx3.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx3.c 2019-07-02
15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx3.c 1970-01-01
01:00:00.000000000 +0100
@@ -1,3 +0,0 @@
-int main(int argc, char **argv) {
- return argv[0] == "something";
-}
Binary files old/post-build-checks-84.88+git20190702.429d0e0/tests/xx3.o and
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx3.o differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx4.BROKEN.C
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx4.BROKEN.C
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx4.BROKEN.C
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx4.BROKEN.C
1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-#include <stdio.h>
-int main(int argc, char **argv) {
- printf("hallo %s\n");
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx5.BROKEN.C
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx5.BROKEN.C
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx5.BROKEN.C
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx5.BROKEN.C
1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#include <unistd.h>
-int main(int argc, char **argv) {
- setuid(42);
- return 0;
-}
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx6.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx6.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx6.c 2019-07-02
15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx6.c 1970-01-01
01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-#include <stdlib.h>
-char *buf;
-int main(int argc, char **argv) {
- buf = malloc(29);
- realloc (buf, 30);
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx7.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx7.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx7.c 2019-07-02
15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx7.c 1970-01-01
01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-int f() {
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx8.BROKEN.C
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx8.BROKEN.C
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx8.BROKEN.C
2019-07-02 15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx8.BROKEN.C
1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-#include <stdio.h>
-
-int main(int argc, char **argv) {
- printf (argv[0]);
- return 0;
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/post-build-checks-84.88+git20190702.429d0e0/tests/xx9.c
new/post-build-checks-84.88+git20190716.5a0e034/tests/xx9.c
--- old/post-build-checks-84.88+git20190702.429d0e0/tests/xx9.c 2019-07-02
15:19:01.000000000 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/tests/xx9.c 1970-01-01
01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-#include <unistd.h>
-int main(int argc, char **argv) {
- execl("hello","world","!");
- return 0;
-}