First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 12024
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Nick Hadaway <nick@capital-internet.net>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Albert W. Hopkins <marduk@python.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 12024 depends on: Show dependency tree
Bug 12024 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2002-12-12 10:03 0000
gcc -c -march=i686 -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../../../../.. 
-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
g++ -c -march=1 -Wall -I. -I../../../../exports/include/X11
-I../../../../include/fonts -I../../../../exports/include/X11 	   -I../../cfb
-I../../mfb -I../../mi -I../../include -I../../os 	   -I../../../../.. 
-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

Not sure how the -march=1 is getting in there.  It's not in my CFLAGS.  It
happens even if I set CFLAGS=""

------- Comment #1 From Mikael A 2002-12-12 18:36:33 0000 -------
I get a similar error:         
 g++ -c -O2 -mcpu=1 -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../../../../..  -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 -mcpu= switch         
         
And a quick: find . -exec grep -Hin mcpu=1 \{\} \;         
Yields:         
./Xvnc/lib/font/fontfile/Makefile:602:CXXFLAGS = -O2 -mcpu=1 -pipe -Wall         
./Xvnc/lib/font/fontfile/Makefile.bak:602:CXXFLAGS = -O2 -mcpu=1 -pipe -Wall         
./Xvnc/programs/Xserver/hw/vnc/Makefile:605:CXXFLAGS = -O2 -mcpu=1 -pipe -Wall         
./Xvnc/programs/Xserver/hw/vnc/Makefile.bak:605:CXXFLAGS = -O2 -mcpu=1 -pipe         
-Wall         
./Xvnc/programs/Xserver/Makefile:704:CXXFLAGS = -O2 -mcpu=1 -pipe -Wall         
   
From vnclibs.def.in         
* vnclibs.def.in - tells Xvnc where to pick up external VNC libraries   
*   
* Whenever you change this file, you need to run configure and then remake   
* the Makefiles in   
* lib/font/fontfile, programs/Xserver and programs/Xserver/hw/vnc   
   
Note that it mentions all three directories where mcpu=1 is found.   
   
however vnclibs.def contains: CXXFLAGS = -O2 -mcpu=i686 -pipe -Wall   
   
Something is going on here i cant fathom. 

------- Comment #2 From Nick Hadaway 2002-12-21 15:12:15 0000 -------
A fix for this problem is in vnc-3.3.5-r1.  I added the fix to the 3.3.6 
build.  Please update your portage tree and re-emerge vnc

First Last Prev Next    No search results available      Search page      Enter new bug