[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: branch-1.4 distcheck failure due to -Wstack-protector
From: |
Eric Blake |
Subject: |
Re: branch-1.4 distcheck failure due to -Wstack-protector |
Date: |
Fri, 27 Nov 2009 21:01:48 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Ralf Wildenhues on 11/27/2009 12:37 PM:
> Hi Eric,
>
> distcheck fails for me with current branch-1.4 on GNU/Linux/x86_64,
> gcc-4.2.4:
>
> cc1: warnings being treated as errors
> ../../src/input.c: In function 'set_word_regexp':
> ../../src/input.c:764: warning: not protecting function: no buffer at least 8
> bytes long
Odd. Wonder what makes gcc output that, and if there is a way to work
around it besides explicitly excluding -Wstack-protector in configure.ac?
Oh, I think I see a way. In branch-1.6, I used re_compile_fastmap instead
of manually probing all 256 bytes to see if they would match the regex.
I'll see about back-porting that to branch-1.4.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAksQoKwACgkQ84KuGfSFAYDRpQCfSTyOioub3BLLiwJQ8Wk/ViQd
3nAAnjgjSZbIc6IBX7oqi5GsKy6Zwlo6
=2BZv
-----END PGP SIGNATURE-----