From owner-freebsd-toolchain@freebsd.org Thu Apr 25 14:10:37 2019 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4E7C815982C6 for ; Thu, 25 Apr 2019 14:10:37 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from mail-io1-f68.google.com (mail-io1-f68.google.com [209.85.166.68]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 887E98609A for ; Thu, 25 Apr 2019 14:10:36 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by mail-io1-f68.google.com with SMTP id e8so8944ioe.12 for ; Thu, 25 Apr 2019 07:10:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=z4MuYeCYeSf94yEBMBmisOWSasLwRPN98kczxYOvh2M=; b=PilB3TuYvDHp8HmZdlKwDk/RS+puCqmCkQeJdmXV0t6k3fo7/l0nHDfVtuXDvVO44S 9DqyKvwV7OOmujCEnJ1f7Y4g6euUILDlsy0AQB4QupRRrj5DelJnDh1pu+A4fwQi1Y6j aMb26YtKsEY4cA+UhaN9eRZiHJG4NU7qUl/J1pLtQhnyk1sgaBMeEjhQNYQLCYbyuc4P QDaD9P4nVGp9DS7L8kYtpzy9vWt/TE2Wp0ISkHJ6shjLeX0JGKwHh2MUJamLx/cVAj6g Wdniw5Rj4/cbPUPSj66QZ49hqfWHCSD1bdhvZBkB86zQ5DY4JuANAvxCmMyga0FGdg6N x74g== X-Gm-Message-State: APjAAAUrd/iPNh7OhK4xTD23HQQF+My2Oq+hhurfsRAe4UZ279isRXqj OcQts6fnSYG8EzywGA+jWt4NgmJa7IdTKgrhdgbisE3S X-Google-Smtp-Source: APXvYqxOZj+vXizs0SHGGMVNeDyYRtLlgpiN4ZmZfdpbaAQ8cbfNiyJ0cCBXkMaACk/k9Q1xv9+FEix/GXQ4O9r9d70= X-Received: by 2002:a6b:e502:: with SMTP id y2mr14200831ioc.73.1556200930126; Thu, 25 Apr 2019 07:02:10 -0700 (PDT) MIME-Version: 1.0 From: Dmitry Chagin Date: Thu, 25 Apr 2019 17:01:59 +0300 Message-ID: Subject: stable/11 discards const qualifiers To: freebsd-toolchain@freebsd.org X-Rspamd-Queue-Id: 887E98609A X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of chagindmitry@gmail.com designates 209.85.166.68 as permitted sender) smtp.mailfrom=chagindmitry@gmail.com X-Spamd-Result: default: False [-5.12 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_DN_NONE(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.984,0]; FORGED_SENDER(0.30)[dchagin@freebsd.org,chagindmitry@gmail.com]; MIME_TRACE(0.00)[0:+,1:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[dchagin@freebsd.org,chagindmitry@gmail.com]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-toolchain@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-2.13)[ip: (-4.44), ipnet: 209.85.128.0/17(-3.88), asn: 15169(-2.24), country: US(-0.06)]; RCVD_IN_DNSWL_NONE(0.00)[68.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[68.166.85.209.rep.mailspike.net : 127.0.0.17]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2019 14:10:37 -0000 Hi, I'm trying to merge r331056, r331057, r331060, r331356,(by emaste@) to the stable/11 and get the following error: ===> linux (all) cc -O2 -pipe -DCOMPAT_FREEBSD32 -DCOMPAT_LINUX32 -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/home/dchagin/tmp/obj/usr/home/dchagin/freebsd/sys/GENERIC/opt_global.h -I. -I/usr/home/dchagin/freebsd/sys -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/home/dchagin/tmp/obj/usr/home/dchagin/freebsd/sys/GENERIC -MD -MF.depend.linux32_sysvec.o -MTlinux32_sysvec.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c -o linux32_sysvec.o /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c:322:29: warning: taking address of packed member 'uc_sigmask' of class or structure 'l_ucontext' may result in an unaligned pointer value [-Waddress-of-packed-member] bsd_to_linux_sigset(mask, &frame.sf_sc.uc_sigmask); ^~~~~~~~~~~~~~~~~~~~~~ /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c:639:23: warning: taking address of packed member 'uc_sigmask' of class or structure 'l_ucontext' may result in an unaligned pointer value [-Waddress-of-packed-member] linux_to_bsd_sigset(&uc.uc_sigmask, &bmask); ^~~~~~~~~~~~~ /usr/home/dchagin/freebsd/sys/amd64/linux32/linux32_sysvec.c:912:15: error: initializing 'int *' with an expression of type 'const int []' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] .sv_errtbl = linux_errtbl, ^~~~~~~~~~~~ 2 warnings and 1 error generated. *** Error code 1 Is I'm missing something?