|
From: Matt A. <mr...@hp...> - 2007-12-06 22:38:13
|
I was able to build Trusted Grub successfully on a Pentium 4 system with i386 Fedora installed on it, as well as an x86_64 version of RHEL 5.1 on my Core 2 Duo system so I think its safe to say that this is not an issue with Trusted Grub. I've gone ahead and filed a bug on binutils related to this: http://sourceware.org/bugzilla/show_bug.cgi?id=5453 So we'll see what happens with that. Thanks again to everyone who offered help on this, both on and off list. -matt Matt Anderson wrote: > Thanks for all the help, but unfortunately this still didn't get it. I > am trying to build TrustedGrub on a core 2 duo system which is > identifying itself as i386 in all these checks. > > I tried building binutils from the latest upstream sources, and that > still didn't work. I think this might be an issue with the fact that > the core 2 duos can be x86_64 but I've got an i386 based distribution > installed on my system. > > Next I think I'm going to try an x86_64 based copy of Fedora on this > system and see if that can build TrustedGrub. > > -matt > > Marcel Selhorst wrote: >> I just googled your error message and it seems, that this bug is >> related to some compilers in 64-Bit machine distributions. Although on >> my Gentoo 64-Bit machine, everything compiles smoothly, there might be >> some incompatibilities with other distros... >> Please try the following fix I found on the net: >> >> --- grub-0.97-bkp/configure.ac 2005-11-05 16:53:00.419491832 -0200 >> +++ grub-0.97/configure.ac 2005-11-05 16:53:13.777461112 -0200 >> @@ -47,7 +47,7 @@ >> fi >> >> if test "x$host_cpu" = xx86_64; then >> - CFLAGS="-m32 $CFLAGS" >> + CFLAGS="-m64 $CFLAGS" >> fi >> >> Best regards, >> Marcel >> >> Matt Anderson schrieb: >>> Marcel Selhorst wrote: >>>> oh... never heard of that error message before ;) >>> Heh.. why do I get the feeling I should have looked harder for an FAQ :) >>> >>>> My binutils-version is 2.18, but I'm pretty sure, that 2.17 should >>>> work as well... Which version of aclocal, autoconf, automake etc. are >>>> you using? Can you post the complete log of ./configure? >>> [mra@orb TrustedGRUB-1.1.3]$ rpm -q automake >>> automake-1.10-6 >>> [mra@orb TrustedGRUB-1.1.3]$ rpm -q autoconf >>> autoconf-2.61-9.fc8 >>> [mra@orb TrustedGRUB-1.1.3]$ which aclocal >>> /usr/bin/aclocal >>> [mra@orb TrustedGRUB-1.1.3]$ rpm -qf /usr/bin/aclocal >>> automake-1.10-6 >>> [mra@orb TrustedGRUB-1.1.3]$ rpm -q binutils >>> binutils-2.17.50.0.18-1 >>> [mra@orb TrustedGRUB-1.1.3]$ ./configure >>> checking for a BSD-compatible install... /usr/bin/install -c >>> checking whether build environment is sane... yes >>> checking for a thread-safe mkdir -p... /bin/mkdir -p >>> checking for gawk... gawk >>> checking whether make sets $(MAKE)... yes >>> checking build system type... i686-pc-linux-gnu >>> checking host system type... i686-pc-linux-gnu >>> checking whether to enable maintainer-specific portions of Makefiles... no >>> checking for gcc... gcc >>> checking for gcc... (cached) gcc >>> checking for C compiler default output file name... a.out >>> checking whether the C compiler works... yes >>> checking whether we are cross compiling... no >>> checking for suffix of executables... >>> checking for suffix of object files... o >>> checking whether we are using the GNU C compiler... yes >>> checking whether gcc accepts -g... yes >>> checking for gcc option to accept ISO C89... none needed >>> checking for style of include used by make... GNU >>> checking dependency style of gcc... gcc3 >>> checking dependency style of gcc... (cached) gcc3 >>> checking for ranlib... ranlib >>> checking whether optimization for size works... yes >>> checking whether gcc has -fno-stack-protector... yes >>> checking whether -Wundef works... yes >>> checking whether -falign-loops works... yes >>> checking for objcopy... objcopy >>> checking if C symbols get an underscore after compilation... no >>> checking whether objcopy works for absolute addresses... no >>> configure: error: GRUB requires a working absolute objcopy; upgrade your >>> binutils >>> >>>> I have successfully build TrustedGRUB on Gentoo, Debian, Ubuntu and >>>> SuSE. >>> Hmm.. okay, I've also gotten it to build on SuSE using their srpms, but >>> from the sound of it no one has made it work on RH/Fedora... yet. I >>> have a couple other versions of automake on my system, next I'll try to >>> mess with my environment in order to use an alternate version and see >>> what that gets me. >>> >>> -matt >>> >>>> Matt Anderson schrieb: >>>>> I tried to build TrustedGRUB-1.1.3 on my Fedora 8 system, but I get an >>>>> error at ./configure time: >>>>> GRUB requires a working absolute objcopy; upgrade your binutils >>>>> >>>>> I have Fedora's binutils-2.17.50.0.18-1 from October 27th 2007, and with >>>>> something like binutils I'm hesitant to roll my own instead of using a >>>>> distro packaged version. I checked gnu.org and they have a >>>>> binutils-2.18 from August of 2007, but for whatever reason that hasn't >>>>> been sucked into Fedora yet. >>>>> >>>>> Does anyone know if TrustedGRUB will build with 2.18, or is there >>>>> something else missing/wrong with my setup and the ./configure error >>>>> message is just stale? What distros have others been successful at >>>>> building TrustedGrub on? >>>>> >>>>> thanks >>>>> -matt >>>>> >>>>> ------------------------------------------------------------------------- >>>>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>>>> from Novell. From the desktop to the data center, Linux is going >>>>> mainstream. Let it simplify your IT future. >>>>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>>>> _______________________________________________ >>>>> Trustedgrub-users mailing list >>>>> Tru...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/trustedgrub-users >>>>> >>> ------------------------------------------------------------------------- >>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> Trustedgrub-users mailing list >>> Tru...@li... >>> https://lists.sourceforge.net/lists/listinfo/trustedgrub-users >>> > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Trustedgrub-users mailing list > Tru...@li... > https://lists.sourceforge.net/lists/listinfo/trustedgrub-users |