Bug#327692: [Pkg-openssl-devel] Bug#327692: FTBFS on GNU/kFreeBSD
Aurelien Jarno
aurelien at aurel32.net
Wed Sep 14 09:36:25 UTC 2005
Christoph Martin a écrit :
> Hi Aurelien,
>
> Aurelien Jarno schrieb:
>
>>The current version of openssl fails to build on GNU/kFreeBSD.
>>Please find attached a patch to fix that. It would be nice if you can
>>include it in the next upload.
>>diff -u openssl-0.9.7g/Configure openssl-0.9.7g/Configure
>>--- openssl-0.9.7g/Configure
>>+++ openssl-0.9.7g/Configure
>>@@ -427,6 +427,7 @@
>> "debian-sparc","gcc:-DB_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>> "debian-sparc-v8","gcc:-DB_ENDIAN -DTERMIO -O3 -mcpu=v8 -fomit-frame-pointer -Wall -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8.o:::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>> "debian-sparc-v9","gcc:-DB_ENDIAN -DTERMIO -O3 -mcpu=v9 -Wa,-Av8plus -fomit-frame-pointer -Wall -DULTRASPARC -DBN_DIV2W::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_UNROLL BF_PTR:asm/sparcv8plus.o:::asm/md5-sparcv8plus.o::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>>+"debian-kfreebsd-i386","gcc:-DL_ENDIAN -DTERMIOS -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>> # The intel boxes :-), It would be worth seeing if bsdi-gcc can use the
>> # bn86-elf.o file file since it is hand tweaked assembler.
>> "linux-elf", "gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -m486 -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>
>
> there is already a debian-freebsd-i386 line in Configure. Is this line
> wrong? Is it obsolete? Has the name changed?
Well the first the name of the OS was GNU/FreeBSD, but it has been
changed into GNU/kFreeBSD, k meaning "kernel of". I suppose it is the
same for the name of the architecture in Debian.
Actually the old line with debian-freebsd-i386 seems to be more accurate
(it has the -m486 flag), so you could just ignore my patch and add a k
to this line.
Thanks,
Aurelien
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian GNU/Linux developer | Electrical Engineer
`. `' aurel32 at debian.org | aurelien at aurel32.net
`- people.debian.org/~aurel32 | www.aurel32.net
More information about the Pkg-openssl-devel
mailing list