Subject: Re: xemacs on Alpha
To: David Seifert <seifert@sequent.com>
From: nm <nmanisca@vt.edu>
List: port-alpha
Date: 10/01/1998 14:21:13
Ok, I did a make and then rm'd the borked xemacs bin that it produced
...
then I did a make run-temacs and in a few secs a nice XEmacs window popped
up (reall temacs I believe)
So the problem lies in the 'dumping' process? what is the dumping process
anyway?
At 10:59 AM 10/1/98 PDT, David Seifert wrote:
>I worked on getting 20.3 to build back in January.
>You want the ELF compiler chain from 1.3, not the COFF
>from 1.2 (won't link),
>
>Below are the diffs I can up with and sent in to the xemacs bug email
address.
>I don't claim that they are correct. :-)
>
>good luck,
>Dave
>
>------- Forwarded Message
>
>> With a few mods (see diffs below), xemacs-20.3 will compile and link
>> on NetBSD/Alpha 1.3. However, the build process fails to complete:
>>
>> [ ... ]
>> Loading /sd0/app/src/xemacs-20.3/lisp/vm/auto-autoloads... (file
auto-autoloads.elc does not exist)
>> Loading /sd0/app/src/xemacs-20.3/lisp/w3/auto-autoloads... (file
auto-autoloads.elc does not exist)
>> Loading /sd0/app/src/xemacs-20.3/lisp/x11/auto-autoloads... (file
auto-autoloads.elc does not exist)
>> Loading site-load...
>> Finding pointers to doc strings...
>> Wrong type argument: stringp, nil
>> XEmacs exiting.
>> *** Error code 255
>>
>> Stop.
>> *** Error code 1
>>
>> Stop.
>>
>>
>>
>> In addition, gcc -Wall complains:
>>
>> intf.c:1366: warning: `menuItem' might be used uninitialized in this
function
>>
>>
>> Suggestion?
>>
>> thanks,
>> Dave
>>
>> ===================================================================
>> RCS file: RCS/glyphs-x.c,v
>> retrieving revision 1.1
>> diff -r1.1 glyphs-x.c
>> 63a64
>> > #define PNG_INTERNAL 1 /* needed for png_read_init() prototype */
>>
>> ===================================================================
>> RCS file: RCS/process.c,v
>> retrieving revision 1.1
>> diff -r1.1 process.c
>> 34a35,36
>> > #include <unistd.h>
>> >
>>
>> ===================================================================
>> RCS file: RCS/sysdep.c,v
>> retrieving revision 1.1
>> diff -r1.1 sysdep.c
>> 2371a2372,2378
>> > #if defined(__NetBSD__) && defined(__alpha__)
>> > #define NEED_STARTS
>> > #ifdef HAVE_TEXT_START
>> > #undef HAVE_TEXT_START
>> > #endif
>> > #endif
>> >
>>
>> ===================================================================
>> RCS file: RCS/unexec.c,v
>> retrieving revision 1.1
>> diff -r1.1 unexec.c
>> 349,350c349,350
>> < static int unexec_text_start;
>> < static int unexec_data_start;
>> ---
>> > static uintptr_t unexec_text_start;
>> > static uintptr_t unexec_data_start;
>> 404,405c404,405
>> < static int make_hdr (int new, int a_out, unsigned data_start,
>> < unsigned bss_start, unsigned entry_address,
>> ---
>> > static int make_hdr (int new, int a_out, uintptr_t data_start,
>> > uintptr_t bss_start, uintptr_t entry_address,
>> 419c419
>> < unsigned data_start, bss_start, entry_address;
>> ---
>> > uintptr_t data_start, bss_start, entry_address;
>> 461,462c461,462
>> < make_hdr (int new, int a_out, unsigned data_start, unsigned bss_start,
>> < unsigned entry_address, char *a_name, char *new_name)
>> ---
>> > make_hdr (int new, int a_out, uintptr_t data_start, uintptr_t bss_start,
>> > uintptr_t entry_address, char *a_name, char *new_name)
>> 484c484
>> < data_start = (int) start_of_data ();
>> ---
>> > data_start = (uintptr_t) start_of_data ();
>> 1089c1089
>> < nwrite = (((int) ptr + writesize) & -writesize) - (int) ptr;
>> ---
>> > nwrite = (((uintptr_t) ptr + writesize) & -writesize) -
(uintptr_t) ptr;
>>
>> ===================================================================
>> RCS file: RCS/alpha.h,v
>> retrieving revision 1.1
>> diff -r1.1 alpha.h
>> 91c91,93
>> < /* #define CANNOT_DUMP */
>> ---
>> > #if defined(__NetBSD__)
>> > #define CANNOT_DUMP
>> > #endif
>> 186a189
>> > #if ! defined(__NetBSD__)
>> 187a191
>> > #endif
>>
>> ===================================================================
>> RCS file: RCS/netbsd.h,v
>> retrieving revision 1.1
>> diff -r1.1 netbsd.h
>> 60a61,64
>> >
>> > #if defined(__alpha__)
>> > #define UNEXEC "unexec.o"
>> > #else
>> 61a66
>> > #endif
>
>------- End of Forwarded Message
>
>