From nobody Sat Oct 23 16:19:26 2021 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 89EF41817D2B; Sat, 23 Oct 2021 16:19:35 +0000 (UTC) (envelope-from montgomerysmithstephen@gmail.com) Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hc5yZ5Dzjz3rn0; Sat, 23 Oct 2021 16:19:34 +0000 (UTC) (envelope-from montgomerysmithstephen@gmail.com) Received: by mail-ot1-x32d.google.com with SMTP id z5-20020a9d4685000000b005537cbe6e5aso1634308ote.1; Sat, 23 Oct 2021 09:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=Aw0lb4Ow8N9YsVlOB29HafQwpSoct4i1IlWgSFm7KAQ=; b=X55MsYVrB7bLvJ5OVjYmq3OCrPB48p5YqRxALA7XjAGPGMNlaXBLKuaFnsb0lno1gD 74H+HCN4hrJAy/VJvrruC4l+EMmwk/f8IX0Mi5R2E3uxUiyy3RjjCXzTdxPscioyKYRE ImY76en+LudLlNsZH22rhOQT0fVdhsoz5gOSUR9i2sKgPPgYQdTnYEBuNrky5pB7pSwO SW/GLrpFjDzTTiUOFWwSa8wUVS87NI1m6lP98Y+yIHzLqxFgZac0UbFhkLAhNL3CkZNn NlzZ0zzBQEgx7bE11x43SwG+adP6zmZZ9j7k5yjXtxEKtnFNW5iWzPuzMA+nOm8HUDbV 9crA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=Aw0lb4Ow8N9YsVlOB29HafQwpSoct4i1IlWgSFm7KAQ=; b=0s17H0Vm60TkFZo01emfIBWtbs0eSm8hNzhyL1BfH26t+2UTw3Z2dZlQvltVr+GSfP rwWUg+x6JmsFBGgzOdOIoDpf4MkZUqN3sOMQSbRSIAj5bUVGBpGpFjGG2SGJos5w5v46 odWDt7wv4TATF+yWZpchjwYb6Vnc7jKvMjMhSJqDnWCEjN4bGogLnk36U99lsInHkyab LFcsS1C4kVk24XRBlx+98nbGK1ZH5nfDvUhmYnYcLgx8+791jFSx8IWhMZk1jhjLmMju EHWFTQSj3GUXH8q841h9j036/KZGM1ikDty77M9SZSju1QptiNGHWuPL+Lrt0+lE8Fuo s+Vg== X-Gm-Message-State: AOAM530aMB3uZqh31IOPa9lo4305ruJ5cboIeCcjw46qg9UOhypDMTIf AK1TUxr5BZRc/wfR7bQMTQZOyIo5xQk= X-Google-Smtp-Source: ABdhPJwSVkHzGdP8IyZucYVfI8cAbAVqaeDVF+RqxvMGMrv2ikqSCq19dpJdcia9BJMyrhibI/HF0w== X-Received: by 2002:a9d:396:: with SMTP id f22mr5347523otf.327.1635005968302; Sat, 23 Oct 2021 09:19:28 -0700 (PDT) Received: from [10.8.13.52] ([161.130.189.143]) by smtp.gmail.com with ESMTPSA id w16sm2331050oti.3.2021.10.23.09.19.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Oct 2021 09:19:28 -0700 (PDT) From: Stephen Montgomery-Smith X-Google-Original-From: Stephen Montgomery-Smith To: freebsd-ports@freebsd.org, "yuri@freebsd.org" , "freebsd-stable@freebsd.org" Subject: Strange things when trying to build math/arb Message-ID: <4a3a7b57-b13e-2823-0a46-aa8197d1ef5e@FreeBSD.org> Date: Sat, 23 Oct 2021 11:19:26 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Hc5yZ5Dzjz3rn0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=X55MsYVr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of montgomerysmithstephen@gmail.com designates 2607:f8b0:4864:20::32d as permitted sender) smtp.mailfrom=montgomerysmithstephen@gmail.com X-Spamd-Result: default: False [-1.38 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.62)[0.624]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_TO(1.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::32d:from]; RECEIVED_SPAMHAUS_PBL(0.00)[161.130.189.143:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-ThisMailContainsUnwantedMimeParts: N I get the weirdest errors when I try to build the port math/arb, which was recently updated to version 2.21.0. Maybe it is a compiler error? Here is a sample: /usr/bin/cc -DARB_BUILD_DLL -Darb_EXPORTS -I/usr/local/include -I/usr/ports/math/arb/work/arb-2.21.0 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -pthread -MD -MT CMakeFiles/arb.dir/acb_hypgeom/gamma_taylor.c.o -MF CMakeFiles/arb.dir/acb_hypgeom/gamma_taylor.c.o.d -o CMakeFiles/arb.dir/acb_hypgeom/gamma_taylor.c.o -c /usr/ports/math/arb/work/arb-2.21.0/acb_hypgeom/gamma_taylor.c /usr/ports/math/arb/work/arb-2.21.0/acb_hypgeom/gamma_taylor.c:48:22: /usr/ports/math/arb/work/arb-2.21.0/acb_hypgeom/gamma_taylor.c:87:35: error: use of undeclared identifier 'arb_hypgeom_gamma_coeffs'; did you mean 'arb_hypgeom_gamma_lower'? mag_mul_2exp_si(err, err, arb_hypgeom_gamma_coeffs[N].exp); ^~~~~~~~~~~~~~~~~~~~~~~~ It is as though the c compiler failed to preprocess the source code, and forget the include files. Note, if I add USE_GCC=yes to the port Makefile, it builds just fine. I am using: cc --version FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) uname -a FreeBSD wilberforce 12.3-PRERELEASE FreeBSD 12.3-PRERELEASE stable/12-n234170-35f1d655819 GENERIC amd64