Ticket #659 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

QMEU mis-detects gcc32 as gcc-3.* on Gentoo, then compilation fails

Reported by: werner@… Owned by: balrogg@…
Priority: high Milestone:
Component: qemu-neo1973 Version: current svn head
Severity: normal Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

QEMU mis-detects gcc32 as a 3.x version. Output:

WARNING: "gcc" looks like gcc 4.x
Looking for gcc 3.x
Found "gcc32"

but gcc32 is really ...
gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)

trunk/src/host/qemu-neo1973/configure contains the rather amusing line

if "$cross_prefix$compat_cc" --version > /dev/null 2>&1 ; then

"Is there anything out there that accepts a --version option" ? I'd
rather think so :-) Something like
| fgrep ' (GCC) 3.' >/dev/null
should fix the problem. (Untested.)

Joachim suggested that this is an upstream issue. If we can't get the fix
applied there, perhaps we could just put in our local repository, which,
after all, already contains the extracted source.

Change History

comment:1 Changed 6 years ago by balrogg@…

  • Owner changed from dodji@… to balrogg@…

comment:2 Changed 6 years ago by balrogg@…

  • Status changed from new to assigned

comment:3 Changed 6 years ago by balrogg@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Applied the suggested fix upstream and updated our tree. Also added probing for
gcc-3.3.6 which is the one portage installed here.

Please reopen the bug if there are still problems, thanks.

Note: See TracTickets for help on using tickets.