Probably issues w/ GCC being more strict than last time it was built.
Will investigate when I have time.


On 23/05/18 13:56, Sven Joachim wrote:
> Source: mono
> Version: 4.6.2.7+dfsg-2
> Severity: serious
>
> The new mono version FTBFS on four architectures where it has been built
> before, including two release architectures.
>
> On S390x, the error looks like this[1]:
>
> ,----
> |   CC       mono-mmap.lo
> | libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../mono
> |  -I../../libgc/include -I../../eglib/src -I../../eglib/src 
> -fvisibility=hidden
> |  -Wdate-time -D_FORTIFY_SOURCE=2 -DGC_LINUX_THREADS -D_GNU_SOURCE 
> -D_REENTRANT
> |  -DUSE_MMAP -DUSE_MUNMAP -g -Wall -Wunused -Wmissing-prototypes
> |  -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes 
> -Wnested-externs
> |  -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum
> |  -Wno-unused-value -Wno-attributes -DUSE_COMPILER_TLS -g -O2
> |  -fdebug-prefix-map=/<<BUILDDIR>>/mono-4.6.2.7+dfsg=. 
> -fstack-protector-strong
> |  -Wformat -Werror=format-security -std=gnu99 -fno-strict-aliasing -fwrapv
> |  -DMONO_DLL_EXPORT -Wno-unused-but-set-variable -g -Wall -Wunused
> |  -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> |  -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> |  -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value 
> -Wno-attributes
> |  -mbackchain -D__USE_STRING_INLINES -Werror-implicit-function-declaration 
> -MT
> |  mono-mmap.lo -MD -MP -MF .deps/mono-mmap.Tpo -c mono-mmap.c -fPIC -DPIC -o
> |  .libs/mono-mmap.o
> | In file included from ../../mono/utils/mono-threads.h:14:0,
> |                   from mono-mmap.c:37:
> | ../../mono/utils/mono-stack-unwinding.h:96:14: error: field 'ctx' has 
> incomplete type
> |   MonoContext ctx;
> |                ^~~
> | make[3]: *** [Makefile:841: mono-mmap.lo] Error 1
> `----
>
> On ppc64el, ppc64 and powerpc there is a different error[2]:
>
> ,----
> |   CC       mono-context.lo
> | libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../mono
> | -I../../libgc/include -I../../eglib/src -I../../eglib/src 
> -fvisibility=hidden
> | -Wdate-time -D_FORTIFY_SOURCE=2 -DGC_LINUX_THREADS -D_GNU_SOURCE 
> -D_REENTRANT
> | -DUSE_MMAP -DUSE_MUNMAP -g -Wall -Wunused -Wmissing-prototypes
> | -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes 
> -Wnested-externs
> | -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum
> | -Wno-unused-value -Wno-attributes -D__mono_ppc__ -D__mono_ppc64__ -g -O2
> | -fdebug-prefix-map=/<<BUILDDIR>>/mono-4.6.2.7+dfsg=. 
> -fstack-protector-strong
> | -Wformat -Werror=format-security -std=gnu99 -fno-strict-aliasing -fwrapv
> | -DMONO_DLL_EXPORT -Wno-unused-but-set-variable -g -Wall -Wunused
> | -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> | -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> | -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value 
> -Wno-attributes
> | -mminimal-toc -Werror-implicit-function-declaration -MT mono-context.lo -MD 
> -MP
> | -MF .deps/mono-context.Tpo -c mono-context.c -fPIC -DPIC -o 
> .libs/mono-context.o
> | In file included from mono-context.c:9:0:
> | 
> | mono-context.c: In function 'mono_sigctx_to_monoctx':
> | ../../mono/utils/mono-sigcontext.h:267:58: error: dereferencing pointer to 
> incomplete type 'os_ucontext {aka struct ucontext}'
> |   #define UCONTEXT_REG_NIP(ctx)     
> (((os_ucontext*)(ctx))->uc_mcontext.gp_regs [PT_NIP])
> |                                                           ^
> | mono-context.c:407:16: note: in expansion of macro 'UCONTEXT_REG_NIP'
> |   mctx->sc_ir = UCONTEXT_REG_NIP(uc);
> |                 ^~~~~~~~~~~~~~~~
> | make[3]: *** [Makefile:841: mono-context.lo] Error 1
> `----
>
>
> 1. 
> https://buildd.debian.org/status/fetch.php?pkg=mono&arch=s390x&ver=4.6.2.7%2Bdfsg-2&stamp=1526962622&raw=0
> 2. 
> https://buildd.debian.org/status/fetch.php?pkg=mono&arch=ppc64el&ver=4.6.2.7%2Bdfsg-2&stamp=1526971899&raw=0
>

Reply via email to