[Openswan dev] building with gcc 3.4
Michael Richardson
mcr at sandelman.ottawa.on.ca
Wed Sep 15 22:01:23 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
The UMLs that we have been using are based upon 2.4.19.
2.4.19 is not compatible with gcc 3.4.
The changes are simple -- just get rid of all of the multiline strings.
However, I tried 2.4.26 with uml3 patch today, and it seemed to work
okay. HEAD has been updated with new files for testing/kernelconfigs.
This ought to work with 2.2.0 as well, if you get just those files.
If you use 2.4.26, you may also need an updated linux/net/ipsec/addrtot.c
It appears that in versions <2.4.19 of UML, it was possible to link
accidentally to libc functions, even for modules to do so. Specifically
strstr() appears not to be in the kernel. A version has been in the most
recent addrtot.c.
We have been testing klips26 in HEAD.
Using a UML based upon 2.6.6, it works for kernel things with 2.6.6,
but there is a UML bug that runs things out of file descriptors, so it
is hard to test the pluto items. I have seen some successes though.
Using a UML based upon 2.6.7, we get crashes (even without klips loaded).
There may be compile problems against 2.6.8.1.
Reports of problems against 2.6.6 are appreciated, as they can be
reproduced.
The config patches are simple:
===================================================================
RCS file: /xelerance/master/openswan-2/testing/kernelconfigs/umlplain.config,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
- --- umlplain.config 4 Apr 2004 03:07:46 -0000 1.18
+++ umlplain.config 15 Sep 2004 21:49:37 -0000 1.19
@@ -409,3 +409,6 @@
# CONFIG_IP_VS is not set
# CONFIG_IP_SCTP is not set
+CONFIG_HUMFS=n
+CONFIG_PPP_MPPE=n
+CONFIG_XFS_FS=n
- --
] "Elmo went to the wrong fundraiser" - The Simpson | firewalls [
] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[
] mcr at xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBQUjl4oqHRg3pndX9AQGMfgP+N8C/6gEODx1IuUwPizZMmsyeRDwqk9hg
oTcSArqG6GZBANgR39w+r2bLEeDYew+s9z1eVxcZ5gKtwZs22sr4iTxvPJXbp8d4
dPxrizQ/CDFXnmlf/OGuU11kFrdwwWiElM5XkqRrSwvk0MQVSNoMFuSBUTrleepZ
kvzbW6e760A=
=Eg97
-----END PGP SIGNATURE-----
More information about the Dev
mailing list