[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] vnc build broken
From: Jürgen_Nagel <juergen () nagel ! homeip ! net>
Date: 2002-11-02 14:33:26
[Download RAW message or body]
Yrjö Hatakka wrote:
>for some reason when compiling file zrle.cc -march gets value of 1 instead
>i686
>
>gcc -c -march=i686 -O3 -pipe -ansi -pedantic -I.
>-I../../../../exports/include/X11 -I../../../../include/fonts
>-I../../../../exports/include/X11 -I../../cfb -I../../mfb -I../../mi
>-I../../include -I../../os -I../../../../.. -Wall -I../../../..
>-I../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
>-D_POSIX_SOURCE -D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE -DSHAPE
>-DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV -DNDEBUG
>-DFUNCPROTO=15 -DNARROWPROTO -DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR
>-DDDXTIME -DPART_NET hextile.c
>rm -f zrle.o
>c++ -c -march=1 -O3 -pipe -Wall -I. -I../../../../exports/include/X11
>-I../../../../include/fonts -I../../../../exports/include/X11
>-I../../cfb -I../../mfb -I../../mi -I../../include -I../../os
>-I../../../../.. -Wall -I../../../.. -I../../../../exports/include -Dlinux
>-D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE=500L
>-D_BSD_SOURCE -D_SVID_SOURCE -DSHAPE -DGCCUSESGAS -DSTATIC_COLOR
>-DAVOID_GLYPHBLT -DPIXPRIV -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO
>-DDDXOSINIT -DSERVER_LOCK -DDDXOSFATALERROR -DDDXTIME -DPART_NET zrle.cc
>cc1plus: bad value (1) for -march= switch
>make[5]: *** [zrle.o] Error 1
>make[5]: Target `all' not remade because of errors.
>make[5]: Target `all' not remade because of errors.
>make[5]: Leaving directory
>`/var/tmp/portage/vnc-3.3.4/work/vnc-3.3.4-unixsrc/Xvnc/programs/Xserver/hw/vnc'
>make[4]: *** [hw/vnc] Error 2
>make[4]: *** No rule to make target `hw/vnc/libvnc.a', needed by `Xvnc'.
>make[4]: Target `all' not remade because of errors.
>make[4]: Leaving directory
>`/var/tmp/portage/vnc-3.3.4/work/vnc-3.3.4-unixsrc/Xvnc/programs/Xserver'
>make[3]: *** [all] Error 2
>make[3]: Leaving directory
>`/var/tmp/portage/vnc-3.3.4/work/vnc-3.3.4-unixsrc/Xvnc/programs'
>make[2]: *** [all] Error 2
>make[2]: Leaving directory
>`/var/tmp/portage/vnc-3.3.4/work/vnc-3.3.4-unixsrc/Xvnc'
>make[1]: *** [World] Error 2
>make[1]: Leaving directory
>`/var/tmp/portage/vnc-3.3.4/work/vnc-3.3.4-unixsrc/Xvnc'
>make: *** [World] Error 2
>
>!!! ERROR: The ebuild did not complete successfully.
>!!! Function src_compile, Line 28, Exitcode 2
>!!! (no error message)
>
>
>
>
That same error happens, when you edit the XFree86 Makefiles to use the
march flag.
I noticed this on an LFS system where I compiled X from source.
To circumvent that error, you have to put the value of the march flag
into quotation marks, e.g. -march="i686".
Juergen
_______________________________________________
gentoo-dev mailing list
gentoo-dev@gentoo.org
http://lists.gentoo.org/mailman/listinfo/gentoo-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic