Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175435 - gdb's configure calls short compiler name
Summary: gdb's configure calls short compiler name
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-21 12:04 UTC by Ihar `Philips` Filipau
Modified: 2007-12-07 02:54 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 Ihar `Philips` Filipau 2007-04-21 12:04:48 UTC
gdb's configure calls short compiler name what breaks its distributed build.

Not once I have spotted during emerge' ./configure run output of x86 gcc complaining about unrecognized - powerpc specific - options.

Reproducible: Always

Steps to Reproduce:
1. main host on powerpc
2. compile farm on x86 with crossdev -t powerpc
3. configure distcc/distccd
4. on powerpc do "emerge gdb"

Actual Results:  
1. In configure output watch for x86 gcc complaining about unsupported options.
2. configure fails without error message (I presume something compiled during configure run - and compiled remotely with foreign gcc - fails to run on host due to different arch.)

Expected Results:  
No compiler errors should be reported and configure should succeed w/o problems as in non-distributed build. Build should go on.
Comment 1 Ihar `Philips` Filipau 2007-04-21 12:08:14 UTC
Watching now non-distributed build process, it seems that GDB does ignore configure's "--host" parameter entirely: it always calls "gcc" instead of fully qualified compiler name.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2007-12-07 02:54:46 UTC
What version was this with?  When compiling the newest ~arch gdb it seems to use the full compiler name:

x86_64-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H    -I. -I.././readline -DRL_LIBRARY_VERSION='"5.1"' -march=nocona -O2 -pipe terminal.c


Please reopen if you are still having problems.