undefined reference to `bcopy' - what's changed?
Hi,
I started getting this error. The same config for ARM920T, just doing svn ups and rebuilding buildroot. Day ago it wasn't there.
/opt/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc -Os -pipe -I/opt/buildroot/build_arm/staging_dir/usr/include -I/opt/buildroot/build_arm/staging_dir/include --sysroot=/opt/buildroot/build_arm/staging_dir/ -isysroot /opt/buildroot/build_arm/staging_dir -mtune=arm920t -DHAVE_XORG_CONFIG_H -DXF86PM -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -I../../include -I../../include -I../../Xext -I../../composite -I../../damageext -I../../xfixes -I../../Xi -I../../mi -I../../miext/shadow -I../../miext/damage -I../../render -I../../randr -I../../fb -g -O2 -rdynamic -o Xorg xorg.o ../../dix/.libs/libdix.a common/libinit.a loader/libloader.a ./.libs/libosandcommon.a rac/librac.a parser/libxf86config.a dixmods/.libs/libdixmods.a ../../composite/.libs/libcomposite.a ../../mi/.libs/libmi.a ../../xfixes/.libs/libxfixes.a ../../Xext/.libs/libXextbuiltin.a ../../render/.libs/librender.a ../../randr/.libs/librandr.a ../../damageext/.libs/libdamageext.a ../../miext/damage/.libs/libdamage.a ../../miext/cw/.libs/libcw.a ../../miext/shadow/.libs/libshadow.a ../../Xi/.libs/libXi.a ../../xkb/.libs/libxkb.a ../../dix/.libs/libxpstubs.a ../../os/.libs/libos.a -ldl -L/opt/buildroot/build_arm/staging_dir/usr/lib /opt/buildroot/build_arm/staging_dir/usr/lib/libXfont.so -L/opt/buildroot/build_arm/staging_dir/lib /opt/buildroot/build_arm/staging_dir/lib/libfreetype.so /opt/buildroot/build_arm/staging_dir/usr/lib/libXau.so /opt/buildroot/build_arm/staging_dir/usr/lib/libfontenc.so -lz /opt/buildroot/build_arm/staging_dir/usr/lib/libXdmcp.so -lm
dixmods/.libs/libxorgxkb.a -Wl,--rpath -Wl,/opt/buildroot/build_arm/staging_dir/usr/lib -Wl,--rpath -Wl,/opt/buildroot/build_arm/staging_dir/lib -Wl,--rpath
-Wl,/opt/buildroot/build_arm/staging_dir/usr/lib -Wl,--rpath -Wl,/opt/buildroot/build_arm/staging_dir/lib/opt/buildroot/build_arm/staging_dir/usr/lib/libXfont.so: undefined reference to `bcopy'
BR,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
Quoted 4 lines · Ivan Kuten
Hi,
I started getting this error. The same config for ARM920T, just doing svn ups and rebuilding buildroot. Day ago it wasn't there.
You're trying to use a SUSv3 LEGACY function. I'd fix the package, but if you're not converned about bloating your build with LEGACY stuff then you can of course turn on support for legacy in uClibc.
Bernhard Fischer ?????:
Quoted 9 lines · Ivan Kuten
Quoted 4 lines
Hi,
I started getting this error. The same config for ARM920T, just doing svn ups and rebuilding buildroot. Day ago it wasn't there.
You're trying to use a SUSv3 LEGACY function. I'd fix the package, but if you're not converned about bloating your build with LEGACY stuff then you can of course turn on support for legacy in uClibc.
Please apply fix:package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch
src/builtins/file.c 2007-09-30 00:52:55.000000000 +0300 renamed from src/builtins/file.c 2007-01-17 23:49:10.000000000 +0200 +1 -1
@@ -50,7 +50,7 @@ len = BUFFILESIZE; if (len > left) len = left; - bcopy (io->file->bits + io->offset, f->buffer, len); + memmove (f->buffer, io->file->bits + io->offset, len); io->offset += len; f->left = len - 1; f->bufp = f->buffer + 1;
Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
Quoted 4 lines · Ivan Kuten
Bernhard Fischer ??????????:
Please apply fix:
package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patch
Merged. Please also push this to the "x11r7/xlib_libXfont" people upstream..
Bernhard Fischer ?????:
Quoted 8 lines · Ivan Kuten
Quoted 4 lines
Bernhard Fischer ??????????:
Please apply fix:
package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patchMerged. Please also push this to the "x11r7/xlib_libXfont" people upstream..
OK, Thanks!
BR,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
Ivan Kuten ?????:
Quoted 8 lines
Bernhard Fischer ?????:
Quoted 6 lines · Ivan Kuten
Quoted 3 lines
Bernhard Fischer ??????????:
Please apply fix:package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patchMerged. Please also push this to the "x11r7/xlib_libXfont" people upstream..
src/builtins/file.c 2007-09-13 Tilman Sauerbeck Replaced one instance of bcopy() with memcpy().
It's already done in their git:
http://gitweb.freedesktop.org/?p=xorg/lib/libXfont.git;a=history;h=a46b0a65e5ab5e298bde02443eae149051883933;hb=5bf703700ee4a5d6eae20da07cb7a29369667aef;f=src/builtins/file.c
Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
Ivan Kuten ?????:
Quoted 10 lines
Bernhard Fischer ?????:
Quoted 6 lines · Ivan Kuten
Quoted 3 lines
Bernhard Fischer ??????????:
Please apply fix:package/x11r7/xlib_libXfont/xlib_libXfont-1.2.7-bcopy-replacement.patchMerged. Please also push this to the "x11r7/xlib_libXfont" people upstream..
OK, Thanks!
Bernhard,
Either mine or your mailer corrupted patch (spaces instead of tab) - and it does not apply. In the attachment a correct one.
Best regards,
Ivan
--------------------------------
Embedded Linux engineer,
Promwad Company: http://www.promwad.com/
Homepage : http://www.ivankuten.com/
--------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xlib_libXfont-1.2.7-bcopy-replacement.patch
Type: text/x-diff
Size: 533 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070930/9cb9aca6/attachment.bin