This is a bug of sorts triggered on the hppa Debian build daemon
auto-builder.

http://buildd.debian.org/fetch.php?&pkg=iptables&ver=1.2.4-2&arch=hppa&stamp=1007234667&file=log&as=raw
http://buildd.debian.org/build.php?arch=&pkg=iptables


iptables fails to build on hppa. Lamont Jones provided a patch that
changes the build behavior to use gcc instead of ld for linking. All
11 Debian architectures appear to accept the change.

--- iptables-1.2.6a.orig/Rules.make                                                    
             
+++ iptables-1.2.6a/Rules.make                                                         
+             
@@ -31,7 +31,8 @@                                                                      
             
            sed -e 's@^.*\.o:@$*.d $*_sh.o:@' > $@                                     
             
                                                                                       
             
 $(SHARED_LIBS): %.so : %_sh.o                                                         
             
-       $(LD) -shared -o $@ $<                                                         
             
+       $(CC) -shared -o $@ -nostdlib $< -lgcc                                         
+             
                                                                                       
             
 %_sh.o : %.c                                                                          
             
        $(CC) $(SH_CFLAGS) -o $@ -c $<                                                 
             


Reply via email to