bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readline 6.3 violates POSIX by doing #undef setjmp


From: Chet Ramey
Subject: Re: readline 6.3 violates POSIX by doing #undef setjmp
Date: Mon, 09 Feb 2015 11:09:50 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2/6/15 4:50 PM, Eric Blake wrote:

> ./lib/readline/libreadline.a(util.o): In function `rl_abort_internal':
> /home/eblake/bash/lib/readline/util.c:115: undefined reference to
> `siglongjmp'
> collect2: error: ld returned 1 exit status
> 
> You need to do the same thing for longjmp as you did for setjmp (that's
> another situation where #undef longjmp puts you in portability hot water).

Thanks for the report. There's a change that does this in the devel branch.

- -- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iEYEARECAAYFAlTY280ACgkQu1hp8GTqdKu0SQCfQNHWc1DGGWlfMqNa/Xqqr8d5
/PAAnRewVaP2yNfRbhBhwYfg/RSUHSvy
=+xwB
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]