On Mon, Mar 26, 2012 at 02:49:17PM +0200, Dominique Dhumieres wrote:
> Updating to gdb-7.4-1 on
> 
> Package manager version: 0.32.3
> Distribution version: selfupdate-rsync Mon Mar 26 14:44:51 2012, 10.6, x86_64
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode: 3.2.6
> Max. Fink build jobs:  
> 
> failed with:
> 
> ...
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include 
> -DHAVE_mach_o_x86_64_vec -DHAVE_mach_o_i386_vec -DHAVE_mach_o_le_vec 
> -DHAVE_mach_o_be_vec -DHAVE_mach_o_fat_vec -DHAVE_pef_vec -DHAVE_pef_xlib_vec 
> -DHAVE_sym_vec -DBINDIR=\"/sw64/bin\" -I/sw64/include -W -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -g 
> -Wno-unused-value -MT mach-o-i386.lo -MD -MP -MF .deps/mach-o-i386.Tpo -c 
> mach-o-i386.c -o mach-o-i386.o
> mv -f .deps/mach-o-i386.Tpo .deps/mach-o-i386.Plo
> /bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. 
> -I./../include  -DHAVE_mach_o_x86_64_vec -DHAVE_mach_o_i386_vec 
> -DHAVE_mach_o_le_vec -DHAVE_mach_o_be_vec -DHAVE_mach_o_fat_vec 
> -DHAVE_pef_vec -DHAVE_pef_xlib_vec -DHAVE_sym_vec  -DBINDIR='"/sw64/bin"' 
> -I/sw64/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow 
> -Werror -O2 -g -Wno-unused-value -MT mach-o.lo -MD -MP -MF .deps/mach-o.Tpo 
> -c -o mach-o.lo mach-o.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -I./../include 
> -DHAVE_mach_o_x86_64_vec -DHAVE_mach_o_i386_vec -DHAVE_mach_o_le_vec 
> -DHAVE_mach_o_be_vec -DHAVE_mach_o_fat_vec -DHAVE_pef_vec -DHAVE_pef_xlib_vec 
> -DHAVE_sym_vec -DBINDIR=\"/sw64/bin\" -I/sw64/include -W -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -g 
> -Wno-unused-value -MT mach-o.lo -MD -MP -MF .deps/mach-o.Tpo -c mach-o.c -o 
> mach-o.o
> cc1: warnings being treated as errors
> mach-o.c: In function 'bfd_mach_o_header_p':
> mach-o.c:2978: warning: 'header.reserved' may be used uninitialized in this 
> function
> make[4]: *** [mach-o.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-bfd] Error 2
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> Use of uninitialized value $mbj in numeric gt (>) at 
> /sw64/lib/perl5/Fink/PkgVersion.pm line 5109.
> Use of uninitialized value in concatenation (.) or string at 
> /sw64/lib/perl5/Fink/PkgVersion.pm line 5163.
> Removing runtime build-lock...
> Removing build-lock package...
> /sw64/bin/dpkg-lockwait -r fink-buildlock-gdb-7.4-1
> (Reading database ... 430756 files and directories currently installed.)
> Removing fink-buildlock-gdb-7.4-1 ...
> Failed: phase compiling: gdb-7.4-1 failed
> 
> TIA
> 
> Dominique

Dominique,
   It has been reported that appending...

SetCC: llvm-gcc-4.2
SetCXX: llvm-g++-4.2

allows the build to complete without resorting to --disable-werror. I suspect
the easy fix is to just ignore this issue and add --disable-werror. Otherwise
we would have to use SetCC/SetCXX to use llvm-gcc and add an appropriate
BuildDepends on xcode.
             Jack

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to