wrong flags being passed to compiler (sun studio 11)
Submitted by Anil
Assigned to Xfce Bug Triage
Description
source='xfce-miscutils.c' object='libxfce4util_la-xfce-miscutils.lo' libtool=yes
DEPDIR=.deps depmode=none /bin/bash ../depcomp
/bin/bash ../libtool --tag=CC --mode=compile /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDEFAULT_XDG_CACHE_HOME="/.cache" -DDEFAULT_XDG_DATA_HOME="/.local/share" -DDEFAULT_XDG_CONFIG_HOME="/.config" -DDEFAULT_XDG_DATA_DIRS="/opt/Xfce-beta/share:/usr/local/share:/usr/share" -DDEFAULT_XDG_CONFIG_DIRS="/opt/Xfce-beta/etc/xdg:/opt/Xfce-beta/etc/xfce4:/etc/xdg" -DDATADIR="/opt/Xfce-beta/share" -DSYSCONFDIR="/opt/Xfce-beta/etc" -DPACKAGE_LOCALE_DIR="/opt/Xfce-beta/share/locale" -DG_LOG_DOMAIN="libxfce4util" -DKIOSKDIR="/opt/Xfce-beta/etc/xdg/xfce4/kiosk" -DKIOSKDEF="ALL" -DLIBXFCE4UTIL_COMPILATION -I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include -I/opt/Xfce-beta/include/glib-2.0 -I/opt/Xfce-beta/lib/glib-2.0/include -I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include -O0 -g3 -Werror -Wall -c -o libxfce4util_la-xfce-miscutils.lo /.cache"" "-DDEFAULT_XDG_DATA_HOME="test -f 'xfce-miscutils.c' || echo './'
xfce-miscutils.c
/opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. "-DDEFAULT_XDG_CACHE_HOME="/.local/share"" "-DDEFAULT_XDG_CONFIG_HOME="/.config"" -DDEFAULT_XDG_DATA_DIRS="/opt/Xfce-beta/share:/usr/local/share:/usr/share" -DDEFAULT_XDG_CONFIG_DIRS="/opt/Xfce-beta/etc/xdg:/opt/Xfce-beta/etc/xfce4:/etc/xdg" -DDATADIR="/opt/Xfce-beta/share" -DSYSCONFDIR="/opt/Xfce-beta/etc" -DPACKAGE_LOCALE_DIR="/opt/Xfce-beta/share/locale" -DG_LOG_DOMAIN="libxfce4util" -DKIOSKDIR="/opt/Xfce-beta/etc/xdg/xfce4/kiosk" -DKIOSKDEF="ALL" -DLIBXFCE4UTIL_COMPILATION -I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include -I/opt/Xfce-beta/include/glib-2.0 -I/opt/Xfce-beta/lib/glib-2.0/include -I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include -O0 -g3 -Werror -Wall -c xfce-miscutils.c -KPIC -DPIC -o .libs/libxfce4util_la-xfce-miscutils.o
cc: Warning: option -0 passed to ld
cc: Warning: option -3 passed to ld
cc: illegal option -Werror
*** Error code 1
dmake: Warning: Command failed for target libxfce4util_la-xfce-miscutils.lo' Current working directory /data/Xfce-beta-src/xfce/libxfce4util-4.3.90.3svn-r22981/libxfce4util *** Error code 1 dmake: Fatal error: Command failed for target
all'
Current working directory /data/Xfce-beta-src/xfce/libxfce4util-4.3.90.3svn-r22981/libxfce4util
*** Error code 1
The following command caused the error:
failcom='exit 1';
for f in x $MAKEFLAGS; do
case $f in
= | --[!k]*);;
k) failcom='fail=yes';;
esac;
done;
dot_seen=no;
target=echo all-recursive | sed s/-recursive//
;
list='libxfce4util docs po xfce4-kiosk-query'; for subdir in $list; do
echo "Making $target in $subdir";
if test "$subdir" = "."; then
dot_seen=yes;
local_target="$target-am";
else
local_target="$target";
fi;
(cd $subdir && make $local_target)
|| eval $failcom;
done;
if test "$dot_seen" = "no"; then
make "$target-am" || exit 1;
fi; test -z "$fail"
dmake: Fatal error: Command failed for target all-recursive' Current working directory /data/Xfce-beta-src/xfce/libxfce4util-4.3.90.3svn-r22981 *** Error code 1 dmake: Fatal error: Command failed for target
all'
Version: 4.4.x