building xemacs on aix with system malloc instead of default gnu malloc

Thomas Mittelstaedt T.Mittelstaedt at cadenas.de
Tue Mar 18 08:37:31 EDT 2008



Jerry James schrieb:
> On Mon, Mar 17, 2008 at 10:06 AM, Thomas Mittelstaedt
> <T.Mittelstaedt at cadenas.de> wrote:
>   
>> Hallo,
>>
>>  FYI
>>  I successfully built xemacs with system malloc instead of the built-in
>>  gnu malloc via the following configure:
>>
>>  export LDR_CNTRL=MAXDATA=0x80000000
>>  cd /localbuild/xemacs-21.5.28-latest/
>>  ./config.status --version
>>  XEmacs config.status 21.5
>>  configured by ./configure, generated by GNU Autoconf 2.61,
>>   with options "'--with-system-malloc' '--without-error-checking'
>>  '--with-late-packages=/usr/local/lib/xemacs' '--without-kkcc'
>>  '--with-pdump' '-C' 'CC=/opt/gcc-3.3.2/bin/gcc'
>>  'LDFLAGS=-Wl,-bmaxdata:0x80000000'"
>>
>>
>>  I had to use pdump since otherwise the dumped xemacs would be about 280M
>>  in size and would not load.
>>
>>  thomas
>>
>>  P.S.: and it runs...
>>     
>
> How does the CPU load on this build compare to the others?
>   
As long as I use only one frame, performance is reasonable. When I 
scroll a file, cpu goes up beyond 20 or even 30%,
but there is no sensible delay yet.
As soon as I open a second frame, though, xemacs hogs. cpu percentage 
shoots up to 70-80% and interactive use, e.g.
selecting things with the mouse becomes a nuisance.
I have attached a tar archive with the profile data from tprof. Look 
first into gdb.prof and then the respective .mprof files.
>   
>>  I also had to omit the build of ldap, since that module failed.
>>     
>
> Can you post the compile failure messages?  I'd like to get that
> fixed.  Thanks for all the information, Thomas.
>   

cd ./modules/ldap && make  all
make[1]: Entering directory `/localbuild/xemacs-21.5.28-latest/modules/ldap'
../../lib-src/ellcc --mode=link --mode=verbose --mod-output=eldap.ell \
    eldap.o eldap_i.o  -Wl,-bmaxdata:0x80000000 -L/usr/ccs/lib 
-L/usr/X11R6/lib -lldap 
ellcc driver version 21.5-b28 for EMODULES version 1.1.0 (1010)
/opt/gcc-3.3.2/bin/gcc -Wl,-bmaxdata:0x80000000 -shared -o eldap.ell 
eldap.o eldap_i.o -Wl,-bmaxdata:0x80000000 -L/usr/ccs/lib 
-L/usr/X11R6/lib -lldap
ld: 0711-317 ERROR: Undefined symbol: Qnative
ld: 0711-317 ERROR: Undefined symbol: print_readably
ld: 0711-317 ERROR: Undefined symbol: Qnil
ld: 0711-317 ERROR: Undefined symbol: Qt
ld: 0711-317 ERROR: Undefined symbol: Qstringp
ld: 0711-317 ERROR: Undefined symbol: Qintegerp
ld: 0711-317 ERROR: Undefined symbol: Qsimple
ld: 0711-317 ERROR: Undefined symbol: __temp_alloca_size__
ld: 0711-317 ERROR: Undefined symbol: need_to_check_c_alloca
ld: 0711-317 ERROR: Undefined symbol: Qsearch
ld: 0711-317 ERROR: Undefined symbol: Qprocess_error
ld: 0711-317 ERROR: Undefined symbol: specpdl_depth_counter
ld: 0711-317 ERROR: Undefined symbol: gcprolist
ld: 0711-317 ERROR: Undefined symbol: Qconsp
ld: 0711-317 ERROR: Undefined symbol: Qsymbolp
ld: 0711-317 ERROR: Undefined symbol: something_happened
ld: 0711-317 ERROR: Undefined symbol: Vquit_flag
ld: 0711-317 ERROR: Undefined symbol: Vinhibit_quit
ld: 0711-317 ERROR: Undefined symbol: Qcritical
ld: 0711-317 ERROR: Undefined symbol: dont_check_for_quit
ld: 0711-317 ERROR: Undefined symbol: Qdelete
ld: 0711-317 ERROR: Undefined symbol: lrecord_implementations_table
ld: 0711-317 ERROR: Undefined symbol: lrecord_markers
ld: 0711-317 ERROR: Undefined symbol: .build_ext_string
ld: 0711-317 ERROR: Undefined symbol: .invalid_operation
ld: 0711-317 ERROR: Undefined symbol: .printing_unreadable_object
ld: 0711-317 ERROR: Undefined symbol: .write_fmt_string_lisp
ld: 0711-317 ERROR: Undefined symbol: .write_c_string
ld: 0711-317 ERROR: Undefined symbol: .write_fmt_string
ld: 0711-317 ERROR: Undefined symbol: .alloc_automanaged_lcrecord
ld: 0711-317 ERROR: Undefined symbol: .dead_wrong_type_argument
ld: 0711-317 ERROR: Undefined symbol: .signal_malformed_property_list_error
ld: 0711-317 ERROR: Undefined symbol: .invalid_constant
ld: 0711-317 ERROR: Undefined symbol: .dfc_convert_to_external_format
ld: 0711-317 ERROR: Undefined symbol: .xemacs_c_alloca
ld: 0711-317 ERROR: Undefined symbol: .signal_circular_property_list_error
ld: 0711-317 ERROR: Undefined symbol: .slow_down_interrupts
ld: 0711-317 ERROR: Undefined symbol: .new_dfc_convert_size
ld: 0711-317 ERROR: Undefined symbol: .new_dfc_convert_copy_data
ld: 0711-317 ERROR: Undefined symbol: .speed_up_interrupts
ld: 0711-317 ERROR: Undefined symbol: .report_process_error
ld: 0711-317 ERROR: Undefined symbol: .signal_error
ld: 0711-317 ERROR: Undefined symbol: .Flength
ld: 0711-317 ERROR: Undefined symbol: .signal_malformed_list_error
ld: 0711-317 ERROR: Undefined symbol: .signal_circular_list_error
ld: 0711-317 ERROR: Undefined symbol: .make_opaque_ptr
ld: 0711-317 ERROR: Undefined symbol: .record_unwind_protect
ld: 0711-317 ERROR: Undefined symbol: .check_what_happened
ld: 0711-317 ERROR: Undefined symbol: .signal_quit
ld: 0711-317 ERROR: Undefined symbol: .message
ld: 0711-317 ERROR: Undefined symbol: .Fcons
ld: 0711-317 ERROR: Undefined symbol: .make_ext_string
ld: 0711-317 ERROR: Undefined symbol: .Fnreverse
ld: 0711-317 ERROR: Undefined symbol: .unbind_to_1
ld: 0711-317 ERROR: Undefined symbol: .defsymbol_massage_name_nodump
ld: 0711-317 ERROR: Undefined symbol: .defsubr
ld: 0711-317 ERROR: Undefined symbol: .Fprovide
ld: 0711-317 ERROR: Undefined symbol: .defvar_magic
ld: 0711-317 ERROR: Undefined symbol: .staticpro_nodump_1
ld: 0711-317 ERROR: Undefined symbol: .unstaticpro_nodump_1
ld: 0711-317 ERROR: Undefined symbol: .emodules_doc_subr
ld: 0711-317 ERROR: Undefined symbol: .emodules_doc_sym
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
collect2: ld returned 8 exit status
make[1]: *** [eldap.ell] Error 1
make[1]: Leaving directory `/localbuild/xemacs-21.5.28-latest/modules/ldap'
make: *** [modules/ldap] Fehler 2

Compilation exited abnormally with code 2 at Tue Mar 18 13:30:13

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xemacs-prof.tar.gz
Type: application/x-gzip
Size: 494527 bytes
Desc: not available
Url : http://lists.xemacs.org/pipermail/xemacs-beta/attachments/20080318/e609694b/xemacs-prof.tar-0001.bin


More information about the XEmacs-Beta mailing list