[patch] TEXT relocation and related compilation problem on amd64.

Peter Volkov <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <1186913758.15470.16.camel@localhost>
Hello.

It was reported that ebtables-2.8.0.1 does not compiles on amd64 (see
comment #10 of http://bugs.gentoo.org/show_bug.cgi?id=159371 ). The fix
is simple and is in applied patch. This fix besides that also fixes text
relocations which is in lib/ebtables/libebtc.so. Could anybody review
and apply it in CVS? Thank you.

-- 
Peter.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Ebtables-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ebtables-devel
ebtables-2.0.8.1-fix-textrel.patch (text/x-patch, 532 B)
--- ./Makefile.orig	2007-08-12 13:02:55.000000000 +0400
+++ ./Makefile	2007-08-12 13:03:04.000000000 +0400
@@ -87,7 +87,7 @@
 	$(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(PROGSPECS) -c -o $@ $< -Iinclude/
 
 ebtables.o: ebtables.c include/ebtables_u.h
-	$(CC) $(CFLAGS) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
+	$(CC) $(CFLAGS) $(CFLAGS_SH_LIB) $(PROGSPECS) -c -o $@ $< -I$(KERNEL_INCLUDES)
 
 ebtables-standalone.o: ebtables-standalone.c include/ebtables_u.h
 	$(CC) $(CFLAGS) $(PROGSPECS) -c $< -o $@ -I$(KERNEL_INCLUDES)
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGvt3ez6tlgEWSarMRAjhIAKCVYn0mhmoc3Hl/DIRmDg22T/NKSwCgolze
3uOVwfLjqNPIb1ed0mTuPWo=
=z1zS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.