Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186718 - app-portage/deltup uses generic g++ command to compile
Summary: app-portage/deltup uses generic g++ command to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-26 18:36 UTC by Chris Slycord
Modified: 2007-10-03 01:20 UTC (History)
0 users

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


Attachments
diff deltup-0.4.4.ebuild deltup-0.4.4.ebuild.orig (the_diff,106 bytes, text/plain)
2007-07-26 21:07 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2007-07-26 18:36:18 UTC
+++ This bug was initially created as a clone of Bug #186635 +++

During the compile phase for deltup (version 0.4.3), g++ is invoked instead of a CHOST-specific command (like i686-pc-linux-gnu-g++). This could cause troubles if trying to do, say, a cross-compile and the system cc gets called (since normally it would use the CHOST for the cross compiler).

Note: the compiler name, g++, is hardcoded in the Makefile

Reproducible: Always

Steps to Reproduce:
1. Install deltup
2. Look at output during compile phase
3.

Actual Results:  
g++ is invoked

Expected Results:  
A CHOST-specific compiler name to be invoked
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2007-07-26 19:26:35 UTC
instead of filing more bugs could you please try to build some patches to fix the issues. Should be rather easy to do so :)
Comment 2 Chris Slycord 2007-07-26 21:07:00 UTC
Created attachment 126096 [details]
diff deltup-0.4.4.ebuild deltup-0.4.4.ebuild.orig

It feels like a kludge to put CC=$(tc-getCXX) but this is to override the fact that the Makefile implicitly has CC = g++.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-08-29 18:06:32 UTC
jep you might want to do the makefile modification and send that upstream too, thanks. I have committed your patch for now.
Comment 4 Chris Slycord 2007-10-03 01:20:32 UTC
(In reply to comment #3)
> jep you might want to do the makefile modification and send that upstream too,
> thanks. I have committed your patch for now.
> 

I'd love to. But upstream is dead (the upstream website doesn't even resolve).