Matthias Klose wrote:
Okay. First, debian/patches/libf2c-alpha-patch is ineffective, CFLAGS is overridden by the make command which enters the libf2c dir. If you did CFLAGS := -mieee $(CFLAGS) then that would work.Adam C Powell IV writes:
reopen 136359 thanks
Thank you for your patience in this, I'm sorry to be such a pain in the neck. But it still doesn't work, I'm still getting a SIGFPE in f__cabs() from cabs.c in libg2c...
Okay, I think I see what's going on. In the alpha build log, there's build-native/alpha-linux/libf2c and build-native/alpha-linux/ieee/libf2c. -mieee is being used in the latter, but not the former.
They are both installed, the former (without -mieee) in what will be /usr/lib/gcc-lib/alpha-linux and the latter in /usr/lib/gcc-lib/alpha-linux/ieee .
But it looks like only the former is actually moved into the binary package in rules2. I don't see where the -mieee libg2c is used anywhere in a binary package.
Should there be an ieee subdir in the installed binary, with these -mieee-built libg2cs?
please send a patch. I don't have access on an alpha and cannot easily see the layout. Or maybe Chris could give it a try?
But the build process already builds non-mieee and -mieee libs, allowing the users choice in which to use, and I think I prefer that approach.
Hey, it builds, and the g77 binary includes the ieee dir! If you include this patch (and you can remove libf2c-alpha-patch), then we can close this bug.
Thanks much, --
-Adam P.
GPG fingerprint: D54D 1AEE B11C CE9B A02B C5DD 526F 01E8 564E E4B6
Welcome to the best software in the world today cafe! <http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>
--- debian/rules2.old Thu Mar 14 13:01:03 2002 +++ debian/rules2 Thu Mar 14 13:03:46 2002 @@ -126,7 +126,10 @@ MULTIDIRS := 64 MULTILIBS := gcc endif - +ifeq ($(DEB_HOST_GNU_TYPE),alpha-linux) + MULTIDIRS := ieee + MULTILIBS += g77 +endif CONFARGS += $(DEB_HOST_GNU_TYPE) ifneq ($(TARGET),native)