Takács András wrote on Tue, Nov 30, 2010 at 20:36:55 +0100: > Hi All, > > I have problem with cross-compiling of subversion for arm. I'm using > codesourcery toolchain. (See build details below). > > My test method (after flashing my developement board): > # svnadmin create /var/svn/testrepo > # svnserve --config-file /etc/svnserve.cfg -d -r /var/svn > # svn co svn://wako...@127.0.0.1/testrepo > # cd testrepo/ > # svn mkdir xxx > # svn ci -m "aa" > Adding xxx > svn: Commit failed (details follow): > svn: Corrupt node-revision '0.0.t0-0' > svn: Malformed text representation offset line in node-rev >
I'd use file:/// for testing. I suppose the next hint (unless someone has tips specific to arm) would be to see the corrupt lines in the revision file --- can you share them? You can patch or breakpoint in subversion/libsvn_fs_fs/fs_fs.c (that is where the error is generated) to find what lines it complains about. You can pass --enable-maintainer-mode to configure to get some debug aids: asserts, debug symbols, stack traces in the error message. > > Could you please help me? What's the problem? Is it a build/configure > or a toolchain/libc problem? > Did anybody cross-compiled subversion for arm4t platform previously? > > Thanks a lot! Really, I'm very thankful for everything! > > Regards, > András > > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > Toolchain: arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu > Cross gcc: arm-none-linux-gnueabi-gcc > Cross cflags: -march=armv4t -mtune=arm920t > > Apr configure: > ./configure \ > --prefix=/usr \ > --host=$(CROSS_COMPILE) \ > ac_cv_file__dev_zero="yes" \ > ac_cv_func_setpgrp_void="yes" \ > apr_cv_process_shared_works="yes" \ > apr_cv_mutex_robust_shared="no" \ > apr_cv_tcp_nodelay_with_cork="yes" \ > ac_cv_sizeof_struct_iovec="8" \ > apr_cv_mutex_recursive="yes" \ > CFLAGS=$(CROSS_CFLAGS) \ > LDFLAGS=$(CROSS_LDFLAGS) > > Apr-utils configure: > ./configure \ > --with-apr=<MY_APR_BUILD_DIR> \ > --prefix=/usr \ > --host=$(CROSS_COMPILE) \ > CFLAGS=$(CROSS_CFLAGS) \ > LDFLAGS=$(CROSS_LDFLAGS); \ > > Subversion configure: > ./configure \ > --with-apr=$(PACKAGES_DIR)/apr/$(TARGET_PACKAGE)/apr \ > > --with-apr-util=$(PACKAGES_DIR)/apr-util/$(TARGET_PACKAGE)/apr-util \ > --with-sqlite="$(TARGET_DEV_ROOT)/usr" \ > --with-zlib="$(TARGET_DEV_ROOT)/usr" \ > --host=$(CROSS_COMPILE) \ > --prefix=/usr \ > CFLAGS=$(CROSS_CFLAGS) \ > LDFLAGS=$(CROSS_LDFLAGS) > > Other compiled libraries: sqlite3, zlib > I'm usung the latest, 1.6.15 subversion and subversion-deps packages. > (I compiled all libraries from subversion-deps, no other installed library) > > -- > Takács András > Skype: wakoond > GTalk: wakoond > MSN: wako...@freestart.hu