|
From: | alexis.deruelle at gmail dot com |
Subject: | [Bug binutils/15324] New: dwarf.c build error on MacOs X Snow Leopard 10.6.8: strnlen definition missing |
Date: | Fri, 29 Mar 2013 21:50:39 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=15324 Bug #: 15324 Summary: dwarf.c build error on MacOs X Snow Leopard 10.6.8: strnlen definition missing Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: address@hidden ReportedBy: address@hidden Classification: Unclassified Created attachment 6959 --> http://sourceware.org/bugzilla/attachment.cgi?id=6959 Fix dwarc.c Snow Leopard build strnlen definition isn't available/detected on Snow Leopard, thus dwarf.c doesn't build any more on my system : gcc -DHAVE_CONFIG_H -I. -I/Users/alexis/src/binutils-tic6x-dis-16bits.git/binutils -I. -I/Users/alexis/src/binutils-tic6x-dis-16bits.git/binutils -I../bfd -I/Users/alexis/src/binutils-tic6x-dis-16bits.git/binutils/../bfd -I/Users/alexis/src/binutils-tic6x-dis-16bits.git/binutils/../include -I./../intl -DLOCALEDIR="\"/Users/alexis/binutils-tic6x/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT dwarf.o -MD -MP -MF .deps/dwarf.Tpo -c -o dwarf.o /Users/alexis/src/binutils-tic6x-dis-16bits.git/binutils/dwarf.c cc1: warnings being treated as errors /Users/alexis/src/binutils-tic6x-dis-16bits.git/binutils/dwarf.c: In function 'process_extended_line_op': /Users/alexis/src/binutils-tic6x-dis-16bits.git/binutils/dwarf.c:428: warning: implicit declaration of function 'strnlen' see https://bugs.launchpad.net/dulwich/+bug/794543 for similar issue Patch attached based on above link. -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |