delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.3.2 sourceware.org DF97E3870868 |
Authentication-Results: | sourceware.org; dmarc=none (p=none dis=none) |
header.from=ssi-schaefer.com | |
Authentication-Results: | sourceware.org; |
spf=pass smtp.mailfrom=Mario DOT Mattl AT ssi-schaefer DOT com | |
IronPort-SDR: | jvT91KIBpEicMJrfsRZ8MiZpXd9amDRpvqZqGCuGsu4xpyh40pLsR7m00rvRw+r9gySPEXoXQ0 |
R1Fq7J+ZzwG5KZDacMxZNKEnTgwlivcA3SgTRm0YnFFS1/7Dwmb92ud+bZKEF26ZwYS77OtNn+ | |
pSmjS3IylThN6A0I4jvZdJRss/hFBXdrfN6iQatdQOZr+yQAVLf9WDpNcG8XPsPAYhTV99HUcD | |
0uedwF9V3xEOr/tIZbJ+2Pm5JbfEg76VClNL0s8xYQjAbmqcpyAdsk3gUV+6HCbcfKS7sBhDrt | |
JrE= | |
X-IronPort-AV: | E=Sophos;i="5.78,424,1599516000"; d="scan'208";a="73517988" |
X-IPAS-Result: | =?us-ascii?q?A2F7BQB0PNpf/2skHKxigQmEbldrhDWRJpw3CwEBAQEBA?= |
=?us-ascii?q?QEBAQkTEAkBAgQBAQKEYYFaAiU4EwIDAQELAQEBBQEBAQEBBgMBAgKGTgELg?= | |
=?us-ascii?q?1SBBwEBAQEBAQEBAQEBAQEBAQEBAQEWAghUTkkRVwEFHQImAgQwFREBBBsTg?= | |
=?us-ascii?q?wyDCgutPYEyiR+BPAaBDiqFX05CiHeBETaCNWyHVYJfBIMCOT8fQRofFHs2j?= | |
=?us-ascii?q?1KDGqUNB4J3gyWMcgeLJCuBHoIIiiaUcZQFnFWETyyBbYF7MxojUIJqTxcCD?= | |
=?us-ascii?q?ZISilhEZwIGAQkBAQMJdAiIMAGBEAEB?= | |
From: | Mattl Mario <Mario DOT Mattl AT ssi-schaefer DOT com> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Subject: | bash-4.4.12-3: Building package with gcc-10.2 fails due to duplicate |
symbols | |
Thread-Topic: | bash-4.4.12-3: Building package with gcc-10.2 fails due to |
duplicate symbols | |
Thread-Index: | AdbTzGX/TNFhRszuS26q/K8SCTkPbA== |
Date: | Wed, 16 Dec 2020 16:58:25 +0000 |
Message-ID: | <56098a17b6d54173b0cfc67e28558dbc@frims060.wamas.com> |
Accept-Language: | de-AT, en-US |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
x-ms-exchange-transport-fromentityheader: | Hosted |
x-originating-ip: | [85.127.52.221] |
MIME-Version: | 1.0 |
X-Spam-Status: | No, score=1.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, |
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, | |
TXREP autolearn=no autolearn_force=no version=3.4.2 | |
X-Spam-Level: | * |
X-Spam-Checker-Version: | SpamAssassin 3.4.2 (2018-09-13) on |
server2.sourceware.org | |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.29 |
List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
Sender: | "Cygwin" <cygwin-bounces AT cygwin DOT com> |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 0BGGxXOY011340 |
Hello everyone, With the GCC-10.2 Compiler package it's not possible to build the bash-src package anymore. I firstly recognized the same issue with a bash-4.3 package, which we are currently using in our toolchain. So I decided to try building the Cygwin bash-src package (of course using the common cygport mechanism for applying all patches) gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -L./lib/termcap -g -O2 -Wno-parentheses -Wno-format-security -o bash.exe shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o -lbuiltins -lglob -lsh -lreadline -lhistory ./lib/termcap/libtermcap.a -ltilde lib/intl/libintl.a -ldl /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: ./lib/termcap/libtermcap.a(termcap.o):/usr/src/bash-4.4.12-3.src/bash-4.4.12-3.x86_64/src/bash-4.4/lib/termcap/termcap.c:295: multiple definition of `PC'; ./lib/readline/libreadline.a(terminal.o):terminal.c:(.bss+0xa0): first defined here /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: ./lib/termcap/libtermcap.a(tparam.o):/usr/src/bash-4.4.12-3.src/bash-4.4.12-3.x86_64/src/bash-4.4/lib/termcap/tparam.c:127: multiple definition of `UP'; ./lib/readline/libreadline.a(terminal.o):terminal.c:(.bss+0x90): first defined here /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: ./lib/termcap/libtermcap.a(tparam.o):/usr/src/bash-4.4.12-3.src/bash-4.4.12-3.x86_64/src/bash-4.4/lib/termcap/tparam.c:126: multiple definition of `BC'; ./lib/readline/libreadline.a(terminal.o):terminal.c:(.bss+0x98): first defined here /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: bashline.o:bashline.c:(.rdata$.refptr.__imp_rl_tab_insert[.refptr.__imp_rl_tab_insert]+0x0): undefined reference to `__imp_rl_tab_insert' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: bashline.o:bashline.c:(.rdata$.refptr.__imp_rl_tilde_expand[.refptr.__imp_rl_tilde_expand]+0x0): undefined reference to `__imp_rl_tilde_expand' /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld: bashline.o:bashline.c:(.rdata$.refptr.__imp_rl_vi_editing_mode[.refptr.__imp_rl_vi_editing_mode]+0x0): undefined reference to `__imp_rl_vi_editing_mode' collect2: error: ld returned 1 exit status make: *** [Makefile:573: bash.exe] Error 1 NOTE: Downgrading to GCC-9 package solves this issue. Could you verify that issue, please? Thanks in advance + bR Mario SSI Schäfer IT Solutions GmbH | Friesachstrasse 15 | 8114 Friesach | Austria Registered Office: Friesach | Commercial Register: 49324 K | VAT no. ATU28654300 Commercial Court: Landesgericht für Zivilrechtssachen Graz Managing Directors: Alois Scheibenreif, Wolfram Frena Unsere Hinweise zum Umgang mit personenbezogenen Daten finden Sie hier<https://www.ssi-schaefer.com/de-at/datenschutz-49548>. You can find our information on the handling of personal data here<https://www.ssi-schaefer.com/en-at/privacy-13258>. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |