grpc icon indicating copy to clipboard operation
grpc copied to clipboard

core gcc4.4 build broken: declaration of 'close' shadows a global declaration

Open jtattermusch opened this issue 10 years ago • 3 comments

third_party/boringssl/crypto/bio/connect.c: In function 'split_host_and_port':
third_party/boringssl/crypto/bio/connect.c:127: error: declaration of 'close' shadows a global declaration
/usr/include/unistd.h:350: error: shadowed declaration is here
make: *** [/var/local/git/grpc/objs/opt/third_party/boringssl/crypto/bio/connect.o] Error 1

how to reproduce (requires) #5369 tools/run_tests/run_tests.py -l c --compiler gcc4.4 --use_docker

jtattermusch avatar Feb 23 '16 16:02 jtattermusch

gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) The same problem exists...

skywu avatar Feb 24 '16 01:02 skywu

Fix is coming

On Tue, Feb 23, 2016 at 5:07 PM skywu [email protected] wrote:

gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1) The same problem exists...

— Reply to this email directly or view it on GitHub https://github.com/grpc/grpc/issues/5370#issuecomment-187996174.

ctiller avatar Feb 24 '16 01:02 ctiller

The build has been fixed(some tests are still failing though)

jtattermusch avatar Feb 26 '16 19:02 jtattermusch