Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60 - x11-ssh-askpass doesn't compile
Summary: x11-ssh-askpass doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mikael Hallendal (hallski) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-06 22:11 UTC by Nils Ohlmeier
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Ohlmeier 2002-01-06 22:11:25 UTC
If net-misc/x11-ssh-askpass sould be compiled it fails because the 'march' and
'mcpu' switches for the compiler are set wrong.
In my fresh build system the summary after configuration shows the following:
"Compiler flags: -mcpu=i686 -march=i686 -O3 -pipe"
But on the first gcc execution it looks like this:
"gcc -mcpu=1 -march=1 -O3 -pipe     -I/usr/X11R6/include  -I/usr/X11R6/include 
-Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO
    -c -o drawing.o drawing.c"
Which leads to the following error messages:
"cc1: bad value (1) for -march= switch
cc1: bad value (1) for -mcpu= switch
make: *** [drawing.o] Error 1"
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-01-06 22:15:45 UTC
this looks like a resurfacing of the xmkmf bug.
Comment 2 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-23 12:31:15 UTC
yes, works with Xfree 4.2.0 at least