From owner-freebsd-questions Tue Nov 2 8:37:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from houston.matchlogic.com (houston.matchlogic.com [205.216.147.127]) by hub.freebsd.org (Postfix) with ESMTP id 2ABCA14A24 for ; Tue, 2 Nov 1999 08:37:14 -0800 (PST) (envelope-from crandall@matchlogic.com) Received: by houston.matchlogic.com with Internet Mail Service (5.5.2448.0) id <43SC74YR>; Tue, 2 Nov 1999 09:37:12 -0700 Message-ID: <64003B21ECCAD11185C500805F31EC030462197A@houston.matchlogic.com> From: Charles Randall To: freebsd-questions@freebsd.org Subject: Immunix Stackguard for FreeBSD? Date: Tue, 2 Nov 1999 09:37:11 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Has anyone successfully built Immunix stackguard on FreeBSD? Here's a link to the original research project, http://www.cse.ogi.edu/DISC/projects/immunix/StackGuard/ The latest development seems to be reflected here, http://www.wirex.com/ and http://immunix.org/ On the downloads page at immunix.org, there's an RPM of patches to gcc 2.7.2.3. I've un-packed that on my 3.3-R system, applied all of the patches, run 'configure', and 'make LANGUAGES=c'. First, the build fails trying to find gnumalloc. After removing that dependency in Makefile and cp/Makefile (assuming that BSD malloc will be used), the build eventually dies with: --- snip --- ./xgcc -B./ -DIN_GCC -O -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- I presume that this is because 3.3-R uses elf and gcc is trying to build an a.out version. Thinking about that a bit, I ran 'make distclean', 'configure i386-elf-freebsd', and 'make LANGUAGES=c' in an attempt to build an elf-specific version. After removing the dependencies on gnumalloc again, the build died in the same place, --- snip --- ./xgcc -B./ -DIN_GCC -O -I./include enquire.o -o enquire /usr/libexec/elf/ld: cannot open crt0.o: No such file or directory *** Error code 1 Stop. --- snip --- Am I missing a compatibility library or something? Suggestions? Charles To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message