Package: distcc Version: 3.1-4 Severity: normal Tags: patch Hello,
I tried to compile virtualbox-ose with distcc, but was stopped by strange errors like "gcc: argument to '-o' missing." It seems to be exatly the same problem as described in this Gentoo bug: http://bugs.gentoo.org/show_bug.cgi?id=351979 I was able to debug it and found that the problem was in the dcc_expand_preprocessor_options function, which incorrectly handled several consecutive -Wp,... options. The problem was that even though it increased the number of arguments, it didn't increase argc, which could later be used as number of all arguments by the same code, hence deleting some of the last arguments. The patch fixing this bug is in the attachment. Please, push it upstream so that even Gentooists can merrily compile with distcc. Regards Jiri Palecek -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.35-exp+ (SMP w/2 CPU cores; PREEMPT) Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/dash Versions of packages distcc depends on: ii adduser 3.110 add and remove users and groups ii cdebconf [debconf-2.0] 0.138lenny2 Debian Configuration Management Sy ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii libavahi-client3 0.6.29-1 Avahi client library ii libavahi-common3 0.6.29-1 Avahi common library ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libpopt0 1.16-1 lib for parsing cmdline parameters ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii netbase 4.30 Basic TCP/IP networking system distcc recommends no packages. Versions of packages distcc suggests: ii ccache 3.0.1-1 Compiler cache for fast recompilat ii dbus 1.2.24-4 simple interprocess messaging syst pn distcc-pump <none> (no description available) ii distccmon-gnome 3.1-4 GTK+ monitor for distcc a distribu -- debconf information: * distcc/daemon-jobs: * distcc/daemon-allow: 127.0.0.1 10.0.0.0/8 * distcc/daemon: true * distcc/daemon-zeroconf: false * distcc/daemon-listen: 0.0.0.0 * distcc/daemon-nice: 20 ___________________________________________________________ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! http://produkte.web.de/go/toolbar
distcc.patch
Description: Binary data