From owner-freebsd-current@freebsd.org Sat Apr 25 20:19:04 2020 Return-Path: Delivered-To: freebsd-current@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 F08D12BF98B for ; Sat, 25 Apr 2020 20:19:04 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 498j6v6dX7z4Wsf for ; Sat, 25 Apr 2020 20:19:03 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id g13so15768984wrb.8 for ; Sat, 25 Apr 2020 13:19:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :mime-version:content-disposition; bh=kM61T7NF7vyEZo2u3/rrLRgmbbwYZRcxIfJnmxQmCAA=; b=JUa7GSc7yyHAAtnf16Jo9aLR5+MsrOrEw40ykt3rL3vYpvh18Sao4Z0jbwen4y18sb f7MOkYyHLH3Gcf+jt+gSs5sSup7JYALcdicPpkNDbFiRp08KM7KC5JdvYDWGZuKBncad 0QQoDHF5hoUiTgtyDdU+YpGwnzNGCSSHBjcOuKBDQnFTjg6iaICEJqZl0YPht+8ydJ+/ tmwPxSYxsP4AUa45cL8XCpXCrp5z1w7TgbiWOyPOtv87YuJymSqO3b66YicXO4qIGu9w balgjleIwZavVOpbrKCZLAqhxBFfd/ul0g9uzg3pYjXWlhLU4x2hC3LExs//XJG4ggKf 7Hqw== X-Gm-Message-State: AGi0PuZghEKF12Rf+P5AVWyzulc65vob1JfaIxhdDVKQzLO53XDbBZfZ M492MlHkKpIKF4rclhNZOn95KR48N/4= X-Google-Smtp-Source: APiQypIdDsNwDLlPvPiYsdPBH8OvjzJ7CnIdHl0HFU36vSHYur47daDZppxr/LtjFm7gHBD2/TnQMA== X-Received: by 2002:adf:dbce:: with SMTP id e14mr17259580wrj.337.1587845941186; Sat, 25 Apr 2020 13:19:01 -0700 (PDT) Received: from lion.0xfce3.net (p4FD3AF72.dip0.t-ipconnect.de. [79.211.175.114]) by smtp.gmail.com with ESMTPSA id 1sm8636000wmz.13.2020.04.25.13.19.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Apr 2020 13:19:00 -0700 (PDT) Sender: Gordon Bergling Date: Sat, 25 Apr 2020 22:18:59 +0200 From: Gordon Bergling To: freebsd-current@freebsd.org Subject: Tinderbox / universe buildfailure with custom options Message-ID: <20200425201859.GA20154@lion.0xfce3.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: X-Operating-System: FreeBSD 12.1-STABLE amd64 X-Host-Uptime: 10:11PM up 2:49, 4 users, load averages: 0.12, 0.21, 0.20 X-Rspamd-Queue-Id: 498j6v6dX7z4Wsf X-Spamd-Bar: / X-Spamd-Result: default: False [-0.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[googlemail.com]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[gbergling@googlemail.com,gbergling@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[114.175.211.79.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; IP_SCORE(0.00)[ip: (-9.30), ipnet: 2a00:1450::/32(-2.33), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[gbergling@googlemail.com,gbergling@gmail.com]; 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)[]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : SPF not aligned (relaxed), DKIM not aligned (relaxed),quarantine]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Apr 2020 20:19:05 -0000 Hi, I tried to make a tinderbox / universe build today, but it was failing with some custom buildoptions. The options are the following: WITH_EXTRA_TCP_STACKS=1 WITH_BEARSSL=1 WITH_PIE=1 WITH_RETPOLINE=1 What strange is, is, that with a "make buildworld buildkernel" everything works fine. Only the tinderbox / universe target seems to be broken by these options. Has anyone an idea why the tinderbox / universe target is broken with these build options? The following are the, rather shortened, error messages. ===> rescue/rescue (obj,build-tools) ld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:0 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:0) >>> jsmn.o:(jsmn_parse) ld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:0 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:0) >>> jsmn.o:(jsmn_parse) ld: error: can't create dynamic relocation R_X86_64_32S against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:304 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:304) >>> jsmn.o:(jsmn_strerror) ld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c:316 (/boiler/nfs/src/lib/libpmc/pmu-events/jsmn.c:316) >>> jsmn.o:(jsmn_strerror) ld: error: can't create dynamic relocation R_X86_64_64 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output >>> defined in jsmn.o >>> referenced by jsmn.c >>> jsmn.o:(.rodata+0x0) --Gordon