[Thread Prev][Thread Next][Thread Index]

obj-res bus error under 2.5.1



After some minor and expected tweaks to prc-0.5.0 (Makefiles, // comments etc)
I am now completely stuck.  Obj-res dumps core when converting Libc...

    %make
    
    ... stuff deleted ...
    
    cd libc.0.1.2 ; make PREFIX=/usr/local/packages/Pilot/sdk   
    TOOLDIR=/usr/local/packages/Pilot/sdk/bin  LIBCDIR=libc.0.1.2
    LIBMDIR=libmf.0.1.2 LIBGLIBDIR=libglib.0.1.0
    
    rm -f libc.sa
    
    ../exportlist libc.a > libc.exp
    
    ../stubgen "C Library" Libc libcstub.c Libc.S < libc.exp
    
    ln -sf ../libglib.0.1.0/scrt0.o scrt0.o
    
    /usr/local/packages/Pilot/sdk/bin/m68k-palmos-coff-gcc -shared -static
    Libc.S ./libc.a -o Libc
    
    ../obj-res -l Libc
    *** Signal 10 - core dumped
    
    make: Fatal error: Command failed for target `libc.sa'


I don't have a clue where or why obj-res should core dump.  Pretty much
everything else has gone to plan.  

Has anyone seen this or have any suggestions? 

I have SunOS spe 5.5.1 Generic_103640-08 sun4m sparc SUNW,SPARCstation-20

and am using /usr/dist/share/devpro/5bin.sun4/SC4.2/bin/cc as my native
compiler (for those of you within Sun).

Obj-res was built as follows...

    /usr/dist/share/devpro/5.x-sparc/SC4.2/bin/cc -O
     -I/usr/local/packages/Pilot/sdk/include -c obj-res.c
     
    /usr/dist/share/devpro/5.x-sparc/SC4.2/bin/cc -O obj-res.o 
      /usr/local/packages/Pilot/sdk/lib/libm68k-palmos-coff-bfd.a
        -L/usr/local/packages/Pilot/sdk/lib -liberty -o obj-res

I had to add -L/usr/local/packages/Pilot/sdk/lib to the Makefile macro
so as to have cc find -lliberty.

Alternatively, does anyone have a 2.5.1 compiled obj-res I could copy?

Many thanks,
  Jerry

------------------------------------------------------------------------
***********************************************************
*             This is a public mailing list!              *
* Please do not publish Sun proprietary information here! *
*        -  -  -  -  -  -  -  -  -  -  -  -  -  -         *
*             http://www.moshpit.org/pilotmgr             *
***********************************************************


SourceForge.net Logo