Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315571 - dev-libs/openssl-0.9.8n fails to compile on IRIX
Summary: dev-libs/openssl-0.9.8n fails to compile on IRIX
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All IRIX
: High normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-16 09:42 UTC by Stuart Shelton
Modified: 2011-12-15 18:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Shelton 2010-04-16 09:42:43 UTC
Whilst dev-libs/openssl-0.9.8l-r2 compiles and tests correctly on IRIX, openssl-0.9.8n fails with:

>>> Compiling source in /usr/opt/portage/var/tmp/portage/dev-libs/openssl-0.9.8n/work/openssl-0.9.8n ...
 * Use configuration (openssl knows best)
./config no-sse2 enable-camellia enable-ec enable-idea enable-mdc2 enable-rc5 enable-tlsext no-gmp no-krb5 no-zlib --prefix=/opt/portage/usr --openssldir=/opt/portage/etc/ssl shared threads
Operating system: mips4-sgi-irix64
WARNING! If you wish to build 64-bit library, then you have to
         invoke './Configure irix64-mips4-cc' *manually*.
         You have about 5 seconds to press Ctrl-C to abort.
Configuring for irix-mips3-cc
Configuring for irix-mips3-cc
    no-capieng      [default]  OPENSSL_NO_CAPIENG (skip dir)
    no-cms          [default]  OPENSSL_NO_CMS (skip dir)
    no-gmp          [option]   OPENSSL_NO_GMP (skip dir)
    no-jpake        [experimental] OPENSSL_NO_JPAKE (skip dir)
    no-krb5         [krb5-flavor not specified] OPENSSL_NO_KRB5
    no-montasm      [default]
    no-rfc3779      [default]  OPENSSL_NO_RFC3779 (skip dir)
    no-seed         [default]  OPENSSL_NO_SEED (skip dir)
    no-sse2         [option]
    no-zlib         [option]
    no-zlib-dynamic [default]
IsMK1MF=0
CC            =cc
CFLAG         =-DOPENSSL_THREADS -D_SGI_MP_SOURCE -DDSO_DLFCN -DHAVE_DLFCN_H -n32 -mips3 -O2 -use_readonly_const -G0 -rdata_shared -DTERMIOS -DB_ENDIAN -DBN_DIV3W
EX_LIBS       =
CPUID_OBJ     =
BN_ASM        =bn-mips3.o
DES_ENC       =des_enc.o fcrypt_b.o
AES_ASM_OBJ   =aes_core.o aes_cbc.o
BF_ENC        =bf_enc.o
CAST_ENC      =c_enc.o
RC4_ENC       =rc4_enc.o rc4_skey.o
RC5_ENC       =rc5_enc.o
MD5_OBJ_ASM   =
SHA1_OBJ_ASM  =
RMD160_OBJ_ASM=
PROCESSOR     =
RANLIB        =ranlib
ARFLAGS       =
PERL          =/usr/bin/perl5
SIXTY_FOUR_BIT mode
DES_PTR used
DES_RISC2 used
DES_UNROLL used
RC4 uses uchar
RC4_CHUNK is unsigned long long
BF_PTR used
e_os2.h => include/openssl/e_os2.h

...

cc -D OPENSSL_DOING_MAKEDEPEND -- -DOPENSSL_THREADS -D_SGI_MP_SOURCE -DDSO_DLFCN -DHAVE_DLFCN_H -n32 -use_readonly_const -G0 -rdata_shared -DTERMIOS -DB_ENDIAN -DBN_DIV3W -c99 -O2 -n32 -mips4 -r14000 -float_const -use_readonly_const -TARG:isa=mips4:platform=ip35:processor=r14000 -TENV:zeroinit_in_bss=ON -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -diag_error 1035,1999,3333 -woff 1174,1183,1185,1552,3968,3970 -fno-strict-aliasing -I. -I.. -I../include -DOPENSSL_NO_DEPRECATED -DOPENSSL_NO_CAPIENG -DOPENSSL_NO_CMS -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SEED -- cryptlib.c dyn_lck.c mem.c mem_clr.c mem_dbg.c cversion.c ex_data.c tmdiff.c cpt_err.c ebcdic.c uid.c o_time.c o_str.c o_dir.c o_init.c fips_err.c

...

/usr/lib32/cmplrs/ld32 -call_shared -no_unresolved -transitive_link -elf -_SYSTYPE_SVR4 -OPT:IEEE_arith=1 -rdata_shared -n32 -mips4 -OPT:fast_io=ON:Olimit=8192:reorg_common=ON:swp=ON -split_common -ivpad -LNO:auto_dist=ON:fusion_peeling_limit=8:gather_scatter=2 -woff1174,1183,1185,1552,3968,3970 -OPT:alias=NO_RESTRICT -show -v -s -x -n32 -mips4 -allow_jump_at_eop -rpath /opt/portage/usr/lib:/opt/portage/lib -LD_MSG:error=158 -L/opt/portage/usr/lib -L/opt/portage/lib -L/usr/lib32/mips4/r10000 -L/usr/lib32/mips4 -L/usr/lib32 /usr/lib32/mips4/crt1.o cryptlib.o dyn_lck.o mem.o mem_clr.o mem_dbg.o cversion.o ex_data.o tmdiff.o cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o o_init.o fips_err.o -dont_warn_unused -Bdynamic -lc /usr/lib32/mips4/crtn.o -warn_unused 
ld32: Mapped ===   /usr/lib32/mips4/crt1.o    ====   at address  0x4000000 
ld32: 1: loading /usr/lib32/mips4/crt1.o.
ld32: Mapped ===   cryptlib.o    ====   at address  0x4004000 
ld32: 2: loading cryptlib.o.
ld32: Mapped ===   dyn_lck.o    ====   at address  0x4008000 
ld32: 3: loading dyn_lck.o.
ld32: Mapped ===   mem.o    ====   at address  0x400c000 
ld32: 4: loading mem.o.
ld32: Mapped ===   mem_clr.o    ====   at address  0x4014000 
ld32: 5: loading mem_clr.o.
ld32: Mapped ===   mem_dbg.o    ====   at address  0x4018000 
ld32: 6: loading mem_dbg.o.
ld32: Mapped ===   cversion.o    ====   at address  0x4020000 
ld32: 7: loading cversion.o.
ld32: Mapped ===   ex_data.o    ====   at address  0x4024000 
ld32: 8: loading ex_data.o.
ld32: Mapped ===   tmdiff.o    ====   at address  0x402c000 
ld32: 9: loading tmdiff.o.
ld32: Mapped ===   cpt_err.o    ====   at address  0x4030000 
ld32: 10: loading cpt_err.o.
ld32: Mapped ===   ebcdic.o    ====   at address  0x4034000 
ld32: 11: loading ebcdic.o.
ld32: Mapped ===   uid.o    ====   at address  0x4038000 
ld32: 12: loading uid.o.
ld32: Mapped ===   o_time.o    ====   at address  0x403c000 
ld32: 13: loading o_time.o.
ld32: Mapped ===   o_str.o    ====   at address  0x4040000 
ld32: 14: loading o_str.o.
ld32: Mapped ===   o_dir.o    ====   at address  0x4044000 
ld32: 15: loading o_dir.o.
ld32: Mapped ===   o_init.o    ====   at address  0x4048000 
ld32: 16: loading o_init.o.
ld32: Mapped ===   fips_err.o    ====   at address  0x404c000 
ld32: 17: loading fips_err.o.
ld32: Trying to open /opt/portage/usr/lib/libc.so...
ld32: Trying to open /opt/portage/usr/lib/libc.a...
ld32: Trying to open /opt/portage/lib/libc.so...
ld32: Trying to open /opt/portage/lib/libc.a...
ld32: Trying to open /usr/lib32/mips4/r10000/libc.so...
ld32: Trying to open /usr/lib32/mips4/r10000/libc.a...
ld32: Trying to open /usr/lib32/mips4/libc.so...
ld32: Mapped ===   /usr/lib32/mips4/libc.so    ====   at address  0x4050000 
ld32: Processing /usr/lib32/mips4/libc.so.
ld32: Mapped ===   /usr/lib32/mips4/crtn.o    ====   at address  0x4384000 
ld32: 18: loading /usr/lib32/mips4/crtn.o.
ld32: Laying out sections and assigning virtual addresses.
ld32: Fixing up symbol values.
ld32: Sorting symbol table.
ld32: Pass2:  creating output file.
ld32: .interp.
ld32: .MIPS.options.
ld32: .reginfo.
ld32: .dynamic.
ld32: .liblist.
ld32: .dynstr.
ld32: .hash.
ld32: .dynsym.
ld32: .MIPS.symlib.
ld32: .rel.dyn.
ld32: .msym.
ld32: .MIPS.stubs.
ld32: .text.
ld32: ERROR   33 : Unresolved text symbol "main" -- 1st referenced by /usr/lib32/mips4/crt1.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_new_null" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BUF_strdup" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_push" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "ERR_put_error" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_find" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_set" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_num" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_value" -- 1st referenced by dyn_lck.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_delete" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_insert" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_new" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_retrieve" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BIO_snprintf" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BIO_puts" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BUF_strlcpy" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_doall_arg" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BIO_printf" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_free" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_num_items" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BIO_s_file" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BIO_new" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BIO_ctrl" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "BIO_free" -- 1st referenced by mem_dbg.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_pop_free" -- 1st referenced by ex_data.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "lh_doall" -- 1st referenced by ex_data.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "sk_free" -- 1st referenced by ex_data.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "ERR_func_error_string" -- 1st referenced by cpt_err.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "ERR_load_strings" -- 1st referenced by cpt_err.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "int_ERR_lib_init" -- 1st referenced by o_init.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "int_EVP_MD_init_engine_callbacks" -- 1st referenced by o_init.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "int_EVP_CIPHER_init_engine_callbacks" -- 1st referenced by o_init.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: ERROR   33 : Unresolved text symbol "int_RAND_init_engine_callbacks" -- 1st referenced by o_init.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.  
ld32: .init.
ld32: .rodata.
ld32: .data.
ld32: .got.
ld32: .bss.
ld32: .debug_abbrev.
ld32: .debug_info.
ld32: .debug_frame.
ld32: .debug_aranges.
ld32: .comment.
ld32: .MIPS.interfaces.
ld32: .MIPS.events.text.
ld32: .MIPS.events.init.
ld32: .MIPS.content.data.
ld32: .shstrtab.
ld32: Sorting dynamic relocation records.
ld32: INFO    152: Output file removed because of error.
cc ERROR:  /usr/lib32/cmplrs/ld32 returned non-zero status 2


... any thoughts?  Are there prefix-related patches applied to 0.9.8l-r2 which aren't applied to 0.9.8n which might affect the situation?
Comment 1 Fabian Groffen gentoo-dev 2011-12-15 18:56:11 UTC
We are sorry to close this bug.  We lack the man-power and devotion to support mips-irix in the tree.