didbs-0.1.X - GCC Compiler testing releases

praetor

New member
Apr 26, 2019
22
11
3
Very great job with didbs!! It'll definately make my efforts at getting a modern web browser on IRIX easier. *buys hammy a virtual beer*
 
  • Like
Reactions: Elf

hammy

Active member
Jun 1, 2019
108
68
28
UK
Note: Older didbs0.1.X torrents now retired.

Didbs technical release 0.1.8 - The "Enough of that MIPSPro angst, let's go fully GCC" release.

Note: Care - are per 0.1.7 the rpm included here assumes a "prefix" of the /usr/didbs/XX-XX directory - which is not what you want. Use ~/.rpmmacros or edit the $DIDBS_ROOT/lib/rpm/macros file and override this. Once done, you'll want to rpmdb --init a new database under that root.

Changes from the 0.1.7 gcc release:
  • There is now a "sampleport" under packages that might help people get started adding things they want. I'll create a branch "contributedbuilds" that anyone is welcome to add stuff to. Please note - I'll only accept contributed builds on that branch. The releases I build will contain exclusively the "core" didbs stuff from master/development. This isn't ideal I do understand, the sooner we can move to `rpm` - the sooner we remove the didbs dependency.
  • wget upgrade to 1.20.3
  • openssl upgrade to 1.1.1d
  • openssh upgrade to 8.1p1
  • perl upgrade to 5.30.0
  • wget bug fix to avoid truncation of "Host:" headers during redirects
  • Added disabled torrent client + library (V slow to build, alpha quality - irixltclient + libtorrent)
  • libffi bug fixes, now passes all tests
  • python2 disabled for binary release - issues with install + lib directory, contribution / ownership welcomed
  • flex bug fix - defensive include changes for compatibility with older irix 6.5.X
  • add "mips4" config possibility for openssl (thanks thor!)
  • default "downloader" now uses curl (thanks thor!)
  • better error messages (ncargs) + pointers in the readme (thanks massive!)
  • emacs bugfix to rebuild when already installed (libjpeg errors)
  • binutils bugfix to rebuild when already installed (missed "rm granlib")
  • didbs bugfix to avoid empty `PATH` or `LD_LIBRARYN32_PATH` elements
  • rpm tooling bugfix - avoid coredumps from `elfdeps` - the tool still doesn't work (not fatal for RPM usage), but it doesn't coredump now

I'm afraid mipspro is gone with this release. It's still there as option in didbs if someone feels the zen to build it themselves.

How to use:
  • Create /usr/didbs
  • chown it to your user
  • Extract the download under there as your user
Note1: As per 0.1.7 - I am only providing a mips3 binary release. I suspect other than bugfixes, this is as far as didbs goes in this format. Future work will focus on replicating this toolchain + feature set using `rpm`. RPM and direction using that is better served in another post.

Note2: If you are on Irix <6.5.30 and you want to use the included GCC compiler - you'll need to execute the "header fixer".

Code:
/usr/didbs/0_1_8_n32_mips3_gcc/libexec/gcc/mips-sgi-irix6.5/9.2.0/install-tools/mkheaders
And here is an example of setting paths to use the didbs tools (assuming you've "symlinked" /usr/didbs/current to your extracted release):

Code:
PATH=/usr/didbs/current/bin:$PATH
LD_LIBRARYN32_PATH=/usr/didbs/current/lib32:$LD_LIBRARYN32_PATH
PKG_CONFIG_PATH=/usr/didbs/current/lib32/pkgconfig:$PKG_CONFIG_PATH
export PATH LD_LIBRARYN32_PATH PKG_CONFIG_PATH
 
Last edited:

mkirby

New member
Oct 11, 2019
8
3
3
Hi, I'm having some issues with this release.

Code:
dribble 3% ./perl
 1865:./perl: rld: Error: unresolvable symbol in ./perl: Perl_atfork_lock
 1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_csighandlerp
 1865:./perl: rld: Error: unresolvable symbol in ./perl: Perl_atfork_unlock
 1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_use_safe_putenv
 1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_sig_name
 1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_sig_num
 1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_do_undump
 1865:./perl: rld: Error: unresolvable symbol in ./perl: boot_DynaLoader
 1865:./perl: rld: Fatal Error: this executable has unresolvable symbols

dribble 4% ldd perl
        libperl.so  =>   /usr/lib32/libperl.so 
        libc.so.1  =>    /usr/lib32/libc.so.1   
        libpthread.so  =>        /usr/lib32/libpthread.so       
        libm.so  =>      /usr/lib32/libm.so     
        libgcc_s.so.1  =>        /usr/people/mark/didbs18/0_1_8_n32_mips3_gcc/lib32/libgcc_s.so.1
I have to add /usr/people/mark/didbs18/0_1_8_n32_mips3_gcc/lib32/5.30.0/IP30-irix-thread-multi/CORE/ to my library path to get it to work..

tset seems to be broken as every time i open a shell i get
tset: can't initialize terminal type iris-ansi (error -1)

i can ctrl c and move on .

and finally with git

Code:
dribble 8% git clone https://github.com/ruby/ruby.git
Cloning into 'ruby'...
warning: templates not found in /usr/didbs/0_1_8_n32_mips3_gcc/share/git-core/templates
fatal: unable to find remote helper for 'https'
if i use the git protocol it works fine though still complains about the missing templates..

This is all on a fresh booterizer 6.5.30 install. Im assuming i have done something wrong so any tips greatly appreciated.

Thanks
 

massiverobot

irix detailer
Feb 8, 2019
121
108
43
Philly
twitter.com
Hi, I'm having some issues with this release.

Code:
dribble 3% ./perl
1865:./perl: rld: Error: unresolvable symbol in ./perl: Perl_atfork_lock
1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_csighandlerp
1865:./perl: rld: Error: unresolvable symbol in ./perl: Perl_atfork_unlock
1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_use_safe_putenv
1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_sig_name
1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_sig_num
1865:./perl: rld: Error: unresolvable symbol in ./perl: PL_do_undump
1865:./perl: rld: Error: unresolvable symbol in ./perl: boot_DynaLoader
1865:./perl: rld: Fatal Error: this executable has unresolvable symbols

dribble 4% ldd perl
        libperl.so  =>   /usr/lib32/libperl.so
        libc.so.1  =>    /usr/lib32/libc.so.1  
        libpthread.so  =>        /usr/lib32/libpthread.so      
        libm.so  =>      /usr/lib32/libm.so    
        libgcc_s.so.1  =>        /usr/people/mark/didbs18/0_1_8_n32_mips3_gcc/lib32/libgcc_s.so.1
I have to add /usr/people/mark/didbs18/0_1_8_n32_mips3_gcc/lib32/5.30.0/IP30-irix-thread-multi/CORE/ to my library path to get it to work..

tset seems to be broken as every time i open a shell i get
tset: can't initialize terminal type iris-ansi (error -1)

i can ctrl c and move on .

and finally with git

Code:
dribble 8% git clone https://github.com/ruby/ruby.git
Cloning into 'ruby'...
warning: templates not found in /usr/didbs/0_1_8_n32_mips3_gcc/share/git-core/templates
fatal: unable to find remote helper for 'https'
if i use the git protocol it works fine though still complains about the missing templates..

This is all on a fresh booterizer 6.5.30 install. Im assuming i have done something wrong so any tips greatly appreciated.

Thanks
.8 built cleanly on my 6.5.22 system. You installed in /usr/didbs?

Here is my .bashrc to build:


and I have a build script that sets the didbs parts:


and finally, here is my script to build didbs:


What was your bootstrap command?
 

hammy

Active member
Jun 1, 2019
108
68
28
UK
Didbs technical release 0.1.9 - The "Making RPM smoother" release.

Note: Care - are per 0.1.8 the rpm included here assumes a "prefix" of the /usr/didbs/XX-XX directory - which is not what you want. Use ~/.rpmmacros or edit the $DIDBS_ROOT/lib/rpm/macros file and override this. Once done, you'll want to rpmdb --init a new database under that root.

Changes from the 0.1.8 gcc release:
  • libdicl upgrade to 0.1.15 (strstr, strcasestr)
  • force use of correct host triplet for rpm
  • libtool patch to correctly install shared library linked binaries using DESTDIR
  • binutils - fix a reinstallation bug
  • allow ncargs to be set higher than 131072 (thanks larbob)
  • bzip2 - add shared library to mirror coming rpms
  • libdwarf - add shared library to mirror coming rpms

How to use:
  • Create /usr/didbs
  • chown it to your user
  • Extract the download under there as your user
Note1: If you are on Irix <6.5.30 and you want to use the included GCC compiler - you'll need to execute the "header fixer".

Code:
/usr/didbs/0_1_9_n32_mips3_gcc/libexec/gcc/mips-sgi-irix6.5/9.2.0/install-tools/mkheaders
And here is an example of setting paths to use the didbs tools (assuming you've "symlinked" /usr/didbs/current to your extracted release):

Code:
PATH=/usr/didbs/current/bin:$PATH
LD_LIBRARYN32_PATH=/usr/didbs/current/lib32:$LD_LIBRARYN32_PATH
PKG_CONFIG_PATH=/usr/didbs/current/lib32/pkgconfig:$PKG_CONFIG_PATH
export PATH LD_LIBRARYN32_PATH PKG_CONFIG_PATH
Where to get it? Let's try something different, and download it from github.

Note: Due to a mistake during the 0.1.9 main tarball building, you'll need the main tarball _plus_ the mini tarball with unistring below. Both are to be extracted at the same place as per above.

 
Last edited:

praetor

New member
Apr 26, 2019
22
11
3
Excellent work, as usual. I'll be glad to do RPM packages. I'm studying for my RHCE, and I've been doing alot of packages for RHEL.
 
  • Like
Reactions: hammy and Elf

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu