bglibs-1.020 - va_copy on Debian
Josh Trutwin <[email protected]>
| Newsgroups | gmane.comp.sysutils.bgware |
|---|---|
| Message-ID | <[email protected]> |
After the release of bglibs 1.020 there was a conversation between
Bruce and Ville Walveranta about the use of va_copy causing compile
failures on FreeBSD because of gcc 2.95.4.
Well, my Debian 3.0 box (with an apt-get upgrade this morning) ALSO
uses this old compiler:
/usr/local/source/mail/bgware/bglibs-1.020> gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
http://packages.debian.org/stable/devel/gcc
so I also get the error.
Tried replacing with __builtin_va_copy as suggested by Bruce - no
love:
Testing str/copyf.c
str/copyf.c: In function `str_copyfv':
str/copyf.c:28: warning: implicit declaration of function
`__builtin_va_copy'
str/copyf.c:25: warning: `ap2' might be used uninitialized in this
function
selftests.sh.tmp.21486/test.o: In function `str_copyfv':
/usr/local/source/mail/bgware/bglibs-1.020/str/copyf.c:28: undefined
reference to `__builtin_va_copy'
collect2: ld returned 1 exit status
=====> Load failed! <=====
Debian 3.1 isn't due out for at least a few weeks yet I believe, it
has gcc 3.3. I'm a little leery of doing a full dist upgrade though.
Would it be easier to build gcc 3.x for compiling bglibs?
Unfortunately 1.020 is needed for the new CVM so I'll probably have to
do that.
I also have this minor problem when doing a "make clean" - which
worked in 1.019:
/usr/local/source/mail/bgware/bglibs-1.020> make clean
rm -f `cat TARGETS`
rm: `install' is a directory
make: *** [clean] Error 1
Thanks,
Josh