From owner-freebsd-questions@freebsd.org Sat Nov 30 21:50:35 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4C59A1B9DF6 for ; Sat, 30 Nov 2019 21:50:35 +0000 (UTC) (envelope-from deng.dayat@gmail.com) Received: from mail-ot1-x32c.google.com (mail-ot1-x32c.google.com [IPv6:2607:f8b0:4864:20::32c]) (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 47QQ6L26dnz4ZKt for ; Sat, 30 Nov 2019 21:50:34 +0000 (UTC) (envelope-from deng.dayat@gmail.com) Received: by mail-ot1-x32c.google.com with SMTP id o9so6667519ote.2 for ; Sat, 30 Nov 2019 13:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=CIFrPo5lx+V02w47FNLgS4dLrYCAd2aauvtS2lVyScQ=; b=qlY3+GK3FFcs0723VwSrAQr9FbKXGMZHVJ9DVPXNvBPcrI9wb9Ba5VF4aM/8V1uRsH jtPMy5C2CaHPWxV1ONJXtdFQ+xP+DzFeNaNp1h0oP8qGDiQBO7U/YDye1jg9gcFJYf8W dB+JFm6FTcJ/lWeFgNtdLxrtOhSzmfjYOOEHGm5gh2D15bEQymFtggNm0F+gdiFuoa2a uvbjEyNF8RyndhMpdRqakIUx0cKM16nFyNU4IARtbUNiFzncafQn2BKdqyOGM38H5JuT g3znJ5hgBA3zThp8gyJYPw2yxwQGchl7iZyVejt0a18u4hR6tu7PQdBew8+BkbPU0V+t WVvQ== 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=CIFrPo5lx+V02w47FNLgS4dLrYCAd2aauvtS2lVyScQ=; b=qEH70CCa8YnCEI5yUDR67hHxIQVDtxDoiJmmmbVrFvFVePoSOzrdR1hkHLfpnfqkpN h54yGEPu7efEHYsbq4MjZljE9MLqv+cMpMQV6JuRevmT1Vyobm2IlhawKO6R31EnqWse SaeI9upt2SCHs9eNE8UYu8i2YOciwHs3C+lDimabqufhNDTKa2fhsP0PbrLftt0LQZCb cXvt3C1K6dnL74tlEzzqizK2v24Ow7z1L39nO6n8aazYHNlTrTs+LQ0CC0JtWhV4/DoB 6vVYZA1CwMckVrf1/NRFnbM02y3MxsS0BQgkGpW5OJvx3+CvYUyUXzw32pO7IsIXx1kZ /UIw== X-Gm-Message-State: APjAAAVAV33WJeyx7zz6g9tda6Kpr0ZOP50XzLfnnIAnc+Q9gjH1T6qt Uk+4ak1NFBd3wBVvKUQbbLFcBs38iXF/cg6ZGodRi2snVck= X-Google-Smtp-Source: APXvYqwPET/p5pb/7tUBnHaxto29uMKZLzNErDPVQlg7wirU1OXRppM4ELmt6g37g2i8sa+ci4uZMtJ+fJNxWjbt8+o= X-Received: by 2002:a9d:5888:: with SMTP id x8mr8296902otg.361.1575150632878; Sat, 30 Nov 2019 13:50:32 -0800 (PST) MIME-Version: 1.0 From: deng daya Date: Sun, 1 Dec 2019 04:50:21 +0700 Message-ID: Subject: gcc error on freebsd 12 To: freeBSD Mailing List X-Rspamd-Queue-Id: 47QQ6L26dnz4ZKt X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=qlY3+GK3; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of dengdayat@gmail.com designates 2607:f8b0:4864:20::32c as permitted sender) smtp.mailfrom=dengdayat@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_TWO(0.00)[2]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE_FREEMAIL(0.00)[]; IP_SCORE(0.00)[ip: (-7.66), ipnet: 2607:f8b0::/32(-2.25), asn: 15169(-1.94), country: US(-0.05)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[c.2.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 21:50:35 -0000 Hi all I tried to install daemontools and got this error Linking ./src/* into ./compile... Compiling everything in ./compile... sh find-systype.sh > systype rm -f compile sh print-cc.sh > compile chmod 555 compile ./compile byte_chr.c gcc: error trying to exec 'cc1': execvp: No such file or directory *** Error code 1 whereis gcc gcc: /usr/local/bin/gcc /usr/src/contrib/gcc gcc -v Using built-in specs. COLLECT_GCC=gcc Target: x86_64-portbld-freebsd11.1 Configured with: /wrkdirs/usr/ports/lang/gcc6/work/gcc-6.4.0/configure --with-build-config=bootstrap-debug --disable-nls --enable-gnu-indirect-function --libdir=/usr/local/lib/gcc6 --libexecdir=/usr/local/libexec/gcc6 --program-suffix=6 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc6/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --with-ecj-jar=/usr/local/share/java/ecj-4.5.jar --enable-languages=c,c++,objc,fortran,java --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/info/gcc6 --build=x86_64-portbld-freebsd11.1 Thread model: posix gcc version 6.4.0 (FreeBSD Ports Collection) how to fix this?