delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/30/07:49:55

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=Y5K
P/2DhEDCmTLiAUA/gDTd3N4NGk3dSi+8YA9gd24BGMcQEhh1zb2xlXktP2/b4O94
OVar4vqpEUhICFeYnwvqnHIKFBhhKZMl5ZX3djHUECxc9DT1TI5aGdM3i7yucD4Y
7GpMWlHzqs9bJgesOKQREgz7kltFtYp7d9nB0T1Y=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=6jUMzy6a3
9qWp+JBDRrdF4XC6Kc=; b=ioT4fjExmX9kKpueyCL88mSdYHXvnEkFpbtNsS9V7
CSAy2d1F8WZi4fB4PQmzNELX9ASG4aJMxhWb8Xp/GAKa6QJkht4ReI52G6EQHc5f
JaDB3svBc8PMu9UozuOB3wTrYRVSpS0OlWhgvxJ5WxHRFsdAydc2aRSgS+oKErpH
Eo=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mout.gmx.net
Message-ID: <542A9873.2060703@gmx.at>
Date: Tue, 30 Sep 2014 13:48:03 +0200
From: Thomas Plank <tplank AT gmx DOT at>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: bash 4.3 - undefined reference to `_sigsetjmp'
X-UI-Out-Filterresults: notjunk:1;

I am trying to compile bash 4.3 on cygwin32.
I applied all available patches (up to 27) but in the end I'm getting an 
undefined reference error:

       ***********************************************************
       *                                                         *
       * GNU bash, version 4.3.27(1)-release (i686-pc-cygwin)
       *                                                         *
       ***********************************************************

rm -f bash.exe
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob 
-L./lib/tilde  -L./lib/sh    -g -O2 -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 
-lcurses -ltilde  -lintl -liconv  -ldl
shell.o: In function `run_one_command':
/cygdrive/f/sourcen/bash-4.3/shell.c:1318: undefined reference to `_sigsetjmp'
shell.o: In function `main':
/cygdrive/f/sourcen/bash-4.3/shell.c:384: undefined reference to `_sigsetjmp'
/cygdrive/f/sourcen/bash-4.3/shell.c:450: undefined reference to `_sigsetjmp'
eval.o: In function `reader_loop':
/cygdrive/f/sourcen/bash-4.3/eval.c:82: undefined reference to `_sigsetjmp'
execute_cmd.o: In function `execute_in_subshell':
/cygdrive/f/sourcen/bash-4.3/execute_cmd.c:1555: undefined reference to 
`_sigsetjmp'
execute_cmd.o:/cygdrive/f/sourcen/bash-4.3/execute_cmd.c:1561: more 
undefined references to `_sigsetjmp' follow
./lib/readline/libreadline.a(util.o): In function `_rl_abort_internal':
/cygdrive/f/sourcen/bash-4.3/lib/readline/util.c:112: undefined reference 
to `_siglongjmp'
./lib/readline/libreadline.a(callback.o): In function `rl_callback_read_char':
/cygdrive/f/sourcen/bash-4.3/lib/readline/callback.c:129: undefined 
reference to `_sigsetjmp'
collect2: error: ld returned 1 exit status
Makefile:553: recipe for target 'bash.exe' failed
make: *** [bash.exe] Error 1

Are there any patches to enable compilation on cygwin?
Thanks in advance,
Thomas


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019