Bug#751907: version 3.2.1-3 in Unstable fixes it for SE Linux on i386

2015-09-15 Thread Russell Coker
The Unstable version 3.2.1-3 fixes this problem for SE Linux on the i386 
platform.

Could this be back-ported to Jessie?

-- 
My Main Blog http://etbe.coker.com.au/
My Documents Bloghttp://doc.coker.com.au/



Processed: Re: Bug#798997: gcc-5-plugin-dev: gcc-5 plugins unusable

2015-09-15 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + pending
Bug #798997 {Done: Matthias Klose } [gcc-5-plugin-dev] 
gcc-5-plugin-dev: gcc-5 plugins unusable
Added tag(s) pending.

-- 
798997: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798997
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#798997: gcc-5-plugin-dev: gcc-5 plugins unusable

2015-09-15 Thread Matthias Klose
Control: tags -1 + pending

On 09/15/2015 07:06 AM, Mathias Krause wrote:
> The plugin package still fails here because it cannot find mpc.h,
> included, e.g., from
> /usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/builtin.h. That file is
> provided by libmpc-dev which, IMHO, gcc-5-plugin-dev should depend on.

fixed in the VCS.



Bug#798782: gcc-5: add gnat sjlj back

2015-09-15 Thread Matthias Klose
On 09/13/2015 05:43 PM, YunQiang Su wrote:
> Some fix for cross-build-native:

> debian/patches/cross-build-native.diff
>   patch src/libcc1/configure.ac
>   libcc1 use  gcc_cv_objdump, while it is not set at all.
>   Use the same snap of code from src/gcc/configure.ac
>   Patch src/libgo/runtime/go-main.c
>then main() has a return value `int', while it returns NULL,
>and ... NULL is defined as (void *)0, in stddefs.h

can you forward these upstream (as separate patches)? best what exactly goes 
wrong?

Matthias



Results for 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 20150913-1) testsuite on s390x-ibm-linux-gnu

2015-09-15 Thread Matthias Klose
LAST_UPDATED: Sun Sep 13 12:40:36 UTC 2015 (revision 227716)

Target: s390x-linux-gnu
gcc version 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 
20150913-1) 

=== acats tests ===
FAIL:   c52103x
FAIL:   c52104x
FAIL:   cb1010a

=== acats Summary ===
# of expected passes2317
# of unexpected failures3
Native configuration is s390x-ibm-linux-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/Wno-frame-address.C  -std=gnu++11 (test for excess errors)
FAIL: g++.dg/Wno-frame-address.C  -std=gnu++11 (test for excess errors)
FAIL: g++.dg/Wno-frame-address.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/Wno-frame-address.C  -std=gnu++14 (test for excess errors)
FAIL: g++.dg/Wno-frame-address.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/Wno-frame-address.C  -std=gnu++98 (test for excess errors)
FAIL: g++.dg/init/const9.C  -std=c++11  scan-assembler-not rodata
FAIL: g++.dg/init/const9.C  -std=c++11  scan-assembler-not rodata
FAIL: g++.dg/init/const9.C  -std=c++14  scan-assembler-not rodata
FAIL: g++.dg/init/const9.C  -std=c++14  scan-assembler-not rodata
FAIL: g++.dg/init/const9.C  -std=c++98  scan-assembler-not rodata
FAIL: g++.dg/init/const9.C  -std=c++98  scan-assembler-not rodata
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++11  scan-tree-dump-times fre2 "free" 
10
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++11  scan-tree-dump-times fre2 "free" 
10
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++14  scan-tree-dump-times fre2 "free" 
10
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++14  scan-tree-dump-times fre2 "free" 
10
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++98  scan-tree-dump-times fre2 "free" 
10
FAIL: g++.dg/tree-ssa/pr61034.C  -std=gnu++98  scan-tree-dump-times fre2 "free" 
10
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++14 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++14 execution test

=== g++ Summary ===

# of expected passes172328
# of unexpected failures22
# of unexpected successes   4
# of expected failures  566
# of unsupported tests  6974
/build/gcc-snapshot-pnv5Na/gcc-snapshot-20150913/build/gcc/testsuite/g++/../../xg++
  version 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 
20150913-1) 

=== gcc tests ===


Running target unix
FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE 
([^\\n]*) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE 
([^\\n]*) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
FAIL: gcc.dg/Wno-frame-address.c (test for excess errors)
FAIL: gcc.dg/Wno-frame-address.c (test for excess errors)
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "Decided"
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "Decided"
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "without introducing a new 
temporary register"
FAIL: gcc.dg/loop-9.c scan-rtl-dump loop2_invariant "without introducing a new 
temporary register"
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O2  execution test
XPASS: gcc.dg/guality/example.c   -O2  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/guality.c   -O3 -g  execution test
XPASS: gcc.dg/guality/guality.c   -O3 -g  execution test
XPASS: gcc.dg/guality/guality.c   -Os  execution test
XPASS: gcc.dg/guality/guality.c   -Os  execution test
XPASS: 

Results for 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 20150913-1) testsuite on arm-unknown-linux-gnueabi

2015-09-15 Thread Matthias Klose
LAST_UPDATED: Sun Sep 13 12:40:36 UTC 2015 (revision 227716)

Native configuration is arm-unknown-linux-gnueabi

=== boehm-gc tests ===


Running target unix

=== boehm-gc Summary ===

# of expected passes12
# of unsupported tests  1
=== libatomic tests ===


Running target unix

=== libatomic Summary ===

# of expected passes44
# of unsupported tests  5
=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes1914
# of unsupported tests  30
=== libgo tests ===


Running target unix
FAIL: bufio
FAIL: bytes
FAIL: errors
FAIL: expvar
FAIL: flag
FAIL: fmt
FAIL: html
FAIL: image
FAIL: io
FAIL: log
FAIL: math
FAIL: mime
FAIL: net
FAIL: os
FAIL: path
FAIL: reflect
FAIL: regexp
FAIL: runtime
FAIL: sort
FAIL: strconv
FAIL: strings
FAIL: sync
FAIL: syscall
FAIL: time
FAIL: unicode
FAIL: archive/tar
FAIL: archive/zip
FAIL: compress/bzip2
FAIL: compress/flate
FAIL: compress/gzip
FAIL: compress/lzw
FAIL: compress/zlib
FAIL: container/heap
FAIL: container/list
FAIL: container/ring
FAIL: crypto/aes
FAIL: crypto/cipher
FAIL: crypto/des
FAIL: crypto/dsa
FAIL: crypto/ecdsa
FAIL: crypto/elliptic
FAIL: crypto/hmac
FAIL: crypto/md5
FAIL: crypto/rand
FAIL: crypto/rc4
FAIL: crypto/rsa
FAIL: crypto/sha1
FAIL: crypto/sha256
FAIL: crypto/sha512
FAIL: crypto/subtle
FAIL: crypto/tls
FAIL: crypto/x509
FAIL: database/sql
FAIL: database/sql/driver
FAIL: debug/dwarf
FAIL: debug/elf
FAIL: debug/macho
FAIL: debug/pe
FAIL: debug/plan9obj
FAIL: encoding/ascii85
FAIL: encoding/asn1
FAIL: encoding/base32
FAIL: encoding/base64
FAIL: encoding/binary
FAIL: encoding/csv
FAIL: encoding/gob
FAIL: encoding/hex
FAIL: encoding/json
FAIL: encoding/pem
FAIL: encoding/xml
FAIL: exp/proxy
FAIL: exp/terminal
FAIL: html/template
FAIL: go/ast
FAIL: go/doc
FAIL: go/format
FAIL: go/parser
FAIL: go/printer
FAIL: go/scanner
FAIL: go/token
FAIL: hash/adler32
FAIL: hash/crc32
FAIL: hash/crc64
FAIL: hash/fnv
FAIL: image/color
FAIL: image/draw
FAIL: image/jpeg
FAIL: image/png
FAIL: index/suffixarray
FAIL: io/ioutil
FAIL: log/syslog
FAIL: math/big
FAIL: math/cmplx
FAIL: math/rand
FAIL: mime/multipart
FAIL: net/http
FAIL: net/http/cgi
FAIL: net/http/cookiejar
FAIL: net/http/fcgi
FAIL: net/http/httptest
FAIL: net/http/httputil
FAIL: net/http/internal
FAIL: net/mail
FAIL: net/rpc
FAIL: net/smtp
FAIL: net/textproto
FAIL: net/url
FAIL: net/rpc/jsonrpc
FAIL: old/regexp
FAIL: old/template
FAIL: os/exec
FAIL: os/signal
FAIL: os/user
FAIL: path/filepath
FAIL: regexp/syntax
FAIL: runtime/pprof
FAIL: sync/atomic
FAIL: text/scanner
FAIL: text/tabwriter
FAIL: text/template
FAIL: text/template/parse
FAIL: testing/quick
FAIL: unicode/utf16
FAIL: unicode/utf8

=== libgo Summary ===

# of unexpected failures124
/build/gcc-snapshot-XKeQq5/gcc-snapshot-20150913/build/./gcc/gccgo version 
6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 20150913-1)

=== libgomp tests ===


Running target unix
FAIL: libgomp.c/pr46193.c execution test
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host=1 
-DACC_MEM_SHARED=1  -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops 
-ftracer -finline-functions  execution test
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host=1 
-DACC_MEM_SHARED=1  -O3 -g  execution test

=== libgomp Summary ===

# of expected passes4082
# of unexpected failures3
# of expected failures  4
# of unsupported tests  239
=== libjava tests ===


Running target unix
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test

=== libjava Summary ===

# of expected passes2574
# of unexpected failures4
# of expected failures  4
# of untested testcases 4
=== libstdc++ tests ===


Running target unix
FAIL: 22_locale/numpunct/members/char/3.cc execution test
FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test

=== libstdc++ Summary ===

# of expected passes10488
# of unexpected failures2
# of expected failures  66
# of unsupported tests  379
Target: arm-linux-gnueabi
gcc version 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 
20150913-1) 

=== acats tests ===

=== acats Summary ===
# of expected passes2320
# of unexpected failures0

=== g++ tests ===


Running target unix
FAIL: c-c++-common/asan/heap-overflow-1.c   -O1  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O2 -flto 

Results for 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 20150913-1) testsuite on arm-unknown-linux-gnueabihf

2015-09-15 Thread Matthias Klose
LAST_UPDATED: Sun Sep 13 12:40:36 UTC 2015 (revision 227716)

Native configuration is arm-unknown-linux-gnueabihf

=== boehm-gc tests ===


Running target unix

=== boehm-gc Summary ===

# of expected passes12
# of unsupported tests  1
=== libatomic tests ===


Running target unix

=== libatomic Summary ===

# of expected passes44
# of unsupported tests  5
=== libffi tests ===


Running target unix

=== libffi Summary ===

# of expected passes1914
# of unsupported tests  30
=== libgo tests ===


Running target unix
FAIL: bytes
FAIL: log
FAIL: runtime
FAIL: sync/atomic

=== libgo Summary ===

# of expected passes120
# of unexpected failures4
/build/gcc-snapshot-UGkLf1/gcc-snapshot-20150913/build/./gcc/gccgo version 
6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 20150913-1)

=== libgomp tests ===


Running target unix
FAIL: libgomp.c/pr46193.c execution test
FAIL: libgomp.fortran/retval1.f90   -O1  execution test
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host=1 
-DACC_MEM_SHARED=1  -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops 
-ftracer -finline-functions  execution test
FAIL: libgomp.oacc-fortran/reduction-1.f90 -DACC_DEVICE_TYPE_host=1 
-DACC_MEM_SHARED=1  -O3 -g  execution test

=== libgomp Summary ===

# of expected passes4081
# of unexpected failures4
# of expected failures  4
# of unsupported tests  239
=== libjava tests ===


Running target unix
FAIL: pr29812 execution - gij test
FAIL: ExtraClassLoader execution - source compiled test
FAIL: ExtraClassLoader -findirect-dispatch execution - source compiled test
FAIL: ExtraClassLoader -O3 execution - source compiled test
FAIL: ExtraClassLoader -O3 -findirect-dispatch execution - source compiled test
FAIL: InvokeInterface execution - source compiled test
FAIL: InvokeInterface -findirect-dispatch execution - source compiled test
FAIL: InvokeInterface -O3 execution - source compiled test
FAIL: InvokeInterface -O3 -findirect-dispatch execution - source compiled test
FAIL: StackTrace2 execution - source compiled test
FAIL: StackTrace2 -findirect-dispatch execution - source compiled test
FAIL: StackTrace2 -O3 execution - source compiled test
FAIL: StackTrace2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 execution - source compiled test
FAIL: Throw_2 -findirect-dispatch execution - source compiled test
FAIL: Throw_2 -O3 execution - source compiled test
FAIL: Throw_2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 execution - source compiled test
FAIL: Throw_3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 -O3 execution - source compiled test
FAIL: Throw_3 -O3 -findirect-dispatch execution - source compiled test
FAIL: WalkerTest output - source compiled test
FAIL: WalkerTest -findirect-dispatch output - source compiled test
FAIL: WalkerTest -O3 output - source compiled test
FAIL: WalkerTest -O3 -findirect-dispatch output - source compiled test
FAIL: pr21785 execution - source compiled test
FAIL: pr21785 -findirect-dispatch execution - source compiled test
FAIL: pr21785 -O3 execution - source compiled test
FAIL: pr21785 -O3 -findirect-dispatch execution - source compiled test
FAIL: sourcelocation execution - source compiled test
FAIL: sourcelocation -findirect-dispatch execution - source compiled test
FAIL: sourcelocation -O3 execution - source compiled test
FAIL: sourcelocation -O3 -findirect-dispatch execution - source compiled test
FAIL: stacktrace output - source compiled test
FAIL: stacktrace -findirect-dispatch output - source compiled test
FAIL: stacktrace -O3 output - source compiled test
FAIL: stacktrace -O3 -findirect-dispatch output - source compiled test

=== libjava Summary ===

# of expected passes2520
# of unexpected failures37
# of untested testcases 29
=== libstdc++ tests ===


Running target unix
FAIL: 22_locale/numpunct/members/char/3.cc execution test
FAIL: 22_locale/time_get/get_date/wchar_t/4.cc execution test

=== libstdc++ Summary ===

# of expected passes10706
# of unexpected failures2
# of expected failures  66
# of unsupported tests  267
Target: arm-linux-gnueabihf
gcc version 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 
20150913-1) 

=== acats tests ===
FAIL:   c52103x
FAIL:   c52104x
FAIL:   c52104y

=== acats Summary ===
# of expected passes2317
# of unexpected failures3

=== g++ tests ===


Running target unix
FAIL: c-c++-common/asan/heap-overflow-1.c   -O0  output pattern test
FAIL: c-c++-common/asan/heap-overflow-1.c   -O1  output pattern 

Results for 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 20150913-1) testsuite on x86_64-pc-kfreebsd-gnu

2015-09-15 Thread Matthias Klose
LAST_UPDATED: Sun Sep 13 12:40:36 UTC 2015 (revision 227716)

Target: x86_64-kfreebsd-gnu
gcc version 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 
20150913-1) 
Native configuration is x86_64-pc-kfreebsd-gnu

=== g++ tests ===


Running target unix
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-10.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-11.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-8.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/cleanup-9.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++11 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++14 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++98 execution test
FAIL: g++.dg/ext/sync-4.C  -std=gnu++98 execution test
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O2  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
FAIL: g++.dg/guality/pr55665.C   -O3 -g  line 23 p == 40
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++11 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++14 execution test
XPASS: g++.dg/tls/thread_local-order2.C  -std=c++14 execution test

=== g++ Summary ===

# of expected passes171942
# of unexpected failures34
# of unexpected successes   4
# of expected failures  566
# of unsupported tests  6644
/build/gcc-snapshot-Hc3Kfx/gcc-snapshot-20150913/build/gcc/testsuite/g++/../../xg++
  version 6.0.0 20150913 (experimental) [trunk revision 227716] (Debian 
20150913-1) 

=== gcc tests ===


Running target unix
FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE 
([^\\n]*) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
FAIL: gcc.dg/debug/dwarf2/stacked-qualified-types-3.c scan-assembler-times DIE 
([^\\n]*) DW_TAG_(?:const|volatile|atomic|restrict)_type 8
FAIL: gcc.dg/cleanup-10.c execution test
FAIL: gcc.dg/cleanup-10.c execution test
FAIL: gcc.dg/cleanup-11.c execution test
FAIL: gcc.dg/cleanup-11.c execution test
FAIL: gcc.dg/cleanup-8.c execution test
FAIL: gcc.dg/cleanup-8.c execution test
FAIL: gcc.dg/cleanup-9.c execution test
FAIL: gcc.dg/cleanup-9.c execution test
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O0  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O1  execution test
XPASS: gcc.dg/guality/example.c   -O2  execution test
XPASS: gcc.dg/guality/example.c   -O2  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/example.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O0  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O1  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fno-use-linker-plugin 
-flto-partition=none  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/guality.c   -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  execution test
XPASS: gcc.dg/guality/guality.c   -O3 -g  execution test
XPASS: gcc.dg/guality/guality.c   -O3 -g  execution test
XPASS: gcc.dg/guality/guality.c   -Os  

Bug#798782: gcc-5: add gnat sjlj back

2015-09-15 Thread YunQiang Su
On Wed, Sep 16, 2015 at 12:27 AM, YunQiang Su  wrote:
> On Wed, Sep 16, 2015 at 12:18 AM, Matthias Klose  wrote:
>> On 09/13/2015 03:23 PM, YunQiang Su wrote:
>>> Some more fix to debian/rules.d/binary-ada.mk.
>>>
>>
>>
>> -   $(cross_shlibdeps) dh_shlibdeps -p$(p_gnsjlj)
>> -   $(cross_gencontrol) dh_gencontrol -p$(p_gnsjlj) \
>>
>> removing the cross_* macros looks wrong, because in your gcc-5-cross patch, 
>> you
>> re-add this:
>
> No, it is not wrong.
> With cross_* macros gnat-5-sjlj- will have a architecture
>  instead
> of 
>
> So, don't remove it.
>
>>
>> +   sed -i -e "/^Depends:/s/\(libgnat-[0-9]*\) (>=
>> $(DEB_VER_GCC)$(CROSS_EXT))/\1 (>= $(DEB_VER_GCC))/g" \
>> + tmp/DEBIAN/control ; \
>>
>
> They are 2 different stories.
> This is for
> gnat-5-, which will depends on libgnat-5:.
> If I don't sed it, it will become:
> gnat-5-:host depends on libgnat-5: (>= 5.2.1-17cross1)
>
> While in our archive, the version of libgnat-5: is 5.2.1-17.

If we add a symbol file for libgnat-5, it will resolved, as gnat-5- may
depends on libgnat-5: (>= 5.2.1-16) or lower version,
which is be sed by the previous line with sed.

>
>> I'm restoring the original behaviour
>>
>
>
>
>
> --
> YunQiang Su



-- 
YunQiang Su



Bug#798782: gcc-5: add gnat sjlj back

2015-09-15 Thread YunQiang Su
On Wed, Sep 16, 2015 at 12:27 AM, YunQiang Su  wrote:
> On Wed, Sep 16, 2015 at 12:18 AM, Matthias Klose  wrote:
>> On 09/13/2015 03:23 PM, YunQiang Su wrote:
>>> Some more fix to debian/rules.d/binary-ada.mk.
>>>
>>
>>
>> -   $(cross_shlibdeps) dh_shlibdeps -p$(p_gnsjlj)
>> -   $(cross_gencontrol) dh_gencontrol -p$(p_gnsjlj) \
>>
>> removing the cross_* macros looks wrong, because in your gcc-5-cross patch, 
>> you
>> re-add this:
>
> No, it is not wrong.
> With cross_* macros gnat-5-sjlj- will have a architecture
>  instead
> of 
>
> So, don't remove it.

I mean don't remove this from my patch. ;)

>
>>
>> +   sed -i -e "/^Depends:/s/\(libgnat-[0-9]*\) (>=
>> $(DEB_VER_GCC)$(CROSS_EXT))/\1 (>= $(DEB_VER_GCC))/g" \
>> + tmp/DEBIAN/control ; \
>>
>
> They are 2 different stories.
> This is for
> gnat-5-, which will depends on libgnat-5:.
> If I don't sed it, it will become:
> gnat-5-:host depends on libgnat-5: (>= 5.2.1-17cross1)
>
> While in our archive, the version of libgnat-5: is 5.2.1-17.
>
>> I'm restoring the original behaviour
>>
>
>
>
>
> --
> YunQiang Su



-- 
YunQiang Su



Bug#798782: gcc-5: add gnat sjlj back

2015-09-15 Thread YunQiang Su
On Tue, Sep 15, 2015 at 3:26 PM, Matthias Klose  wrote:
> On 09/13/2015 05:43 PM, YunQiang Su wrote:
>> Some fix for cross-build-native:
>
>> debian/patches/cross-build-native.diff
>>   patch src/libcc1/configure.ac
>>   libcc1 use  gcc_cv_objdump, while it is not set at all.
>>   Use the same snap of code from src/gcc/configure.ac
>>   Patch src/libgo/runtime/go-main.c
>>then main() has a return value `int', while it returns NULL,
>>and ... NULL is defined as (void *)0, in stddefs.h
>
> can you forward these upstream (as separate patches)? best what exactly goes 
> wrong?

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67589
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67590

>
> Matthias
>
>



-- 
YunQiang Su



Bug#798782: gcc-5: add gnat sjlj back

2015-09-15 Thread Matthias Klose
On 09/13/2015 03:23 PM, YunQiang Su wrote:
> Some more fix to debian/rules.d/binary-ada.mk.
> 


-   $(cross_shlibdeps) dh_shlibdeps -p$(p_gnsjlj)
-   $(cross_gencontrol) dh_gencontrol -p$(p_gnsjlj) \

removing the cross_* macros looks wrong, because in your gcc-5-cross patch, you
re-add this:

+   sed -i -e "/^Depends:/s/\(libgnat-[0-9]*\) (>=
$(DEB_VER_GCC)$(CROSS_EXT))/\1 (>= $(DEB_VER_GCC))/g" \
+ tmp/DEBIAN/control ; \

I'm restoring the original behaviour



Bug#798782: gcc-5: add gnat sjlj back

2015-09-15 Thread YunQiang Su
On Wed, Sep 16, 2015 at 12:18 AM, Matthias Klose  wrote:
> On 09/13/2015 03:23 PM, YunQiang Su wrote:
>> Some more fix to debian/rules.d/binary-ada.mk.
>>
>
>
> -   $(cross_shlibdeps) dh_shlibdeps -p$(p_gnsjlj)
> -   $(cross_gencontrol) dh_gencontrol -p$(p_gnsjlj) \
>
> removing the cross_* macros looks wrong, because in your gcc-5-cross patch, 
> you
> re-add this:

No, it is not wrong.
With cross_* macros gnat-5-sjlj- will have a architecture
 instead
of 

So, don't remove it.

>
> +   sed -i -e "/^Depends:/s/\(libgnat-[0-9]*\) (>=
> $(DEB_VER_GCC)$(CROSS_EXT))/\1 (>= $(DEB_VER_GCC))/g" \
> + tmp/DEBIAN/control ; \
>

They are 2 different stories.
This is for
gnat-5-, which will depends on libgnat-5:.
If I don't sed it, it will become:
gnat-5-:host depends on libgnat-5: (>= 5.2.1-17cross1)

While in our archive, the version of libgnat-5: is 5.2.1-17.

> I'm restoring the original behaviour
>




-- 
YunQiang Su



Bug#798782: gcc-5: add gnat sjlj back

2015-09-15 Thread Matthias Klose
On 09/15/2015 06:31 PM, YunQiang Su wrote:
> On Wed, Sep 16, 2015 at 12:27 AM, YunQiang Su  wrote:
>> On Wed, Sep 16, 2015 at 12:18 AM, Matthias Klose  wrote:
>>> On 09/13/2015 03:23 PM, YunQiang Su wrote:
 Some more fix to debian/rules.d/binary-ada.mk.

>>>
>>>
>>> -   $(cross_shlibdeps) dh_shlibdeps -p$(p_gnsjlj)
>>> -   $(cross_gencontrol) dh_gencontrol -p$(p_gnsjlj) \
>>>
>>> removing the cross_* macros looks wrong, because in your gcc-5-cross patch, 
>>> you
>>> re-add this:
>>
>> No, it is not wrong.
>> With cross_* macros gnat-5-sjlj- will have a architecture
>>  instead
>> of 
>>
>> So, don't remove it.
>>
>>>
>>> +   sed -i -e "/^Depends:/s/\(libgnat-[0-9]*\) (>=
>>> $(DEB_VER_GCC)$(CROSS_EXT))/\1 (>= $(DEB_VER_GCC))/g" \
>>> + tmp/DEBIAN/control ; \
>>>
>>
>> They are 2 different stories.
>> This is for
>> gnat-5-, which will depends on libgnat-5:.
>> If I don't sed it, it will become:
>> gnat-5-:host depends on libgnat-5: (>= 5.2.1-17cross1)
>>
>> While in our archive, the version of libgnat-5: is 5.2.1-17.
> 
> If we add a symbol file for libgnat-5, it will resolved, as gnat-5- 
> may
> depends on libgnat-5: (>= 5.2.1-16) or lower version,
> which is be sed by the previous line with sed.

ok, same as libcc1. However I would like to find a way to add the logic about
host vs. target libs in the gcc-5 packaging.