Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 120076
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Catalyst Developers <catalyst@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Gaffney <agaffney@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
cat2.patch automatically sets up cross-distcc-fu patch Andrew Gaffney 2006-01-23 10:20 0000 891 bytes Details | Diff
cat2.patch new patch that uses single quotes instead of double quotes to create the wrapper patch Andrew Gaffney 2006-01-24 07:07 0000 1.04 KB Details | Diff
cat2.patch new (hopefully) working patch patch Andrew Gaffney 2006-01-24 08:09 0000 859 bytes Details | Diff
cat2.patch slightly different approach to wrapper script patch Andrew Gaffney 2006-01-24 14:05 0000 783 bytes Details | Diff
catalyst.patch patch patch Andrew Gaffney 2007-04-27 02:29 0000 1006 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 120076 depends on: Show dependency tree
Bug 120076 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: 2006-01-23 10:19 0000
I came up with a very easy method for seamless cross-compiling with distcc.
It's described in <http://www.gentoo.org/doc/en/cross-compiling-distcc.xml>.
I've put together a patch to automatically perform these steps when the user
wants to use distcc with catalyst.

------- Comment #1 From Andrew Gaffney 2006-01-23 10:20:52 0000 -------
Created an attachment (id=77926) [details]
automatically sets up cross-distcc-fu

This is against catalyst-2.0_rc20, but the changes are localized so easy to put
into any version.

------- Comment #2 From Andrew Gaffney 2006-01-24 07:07:19 0000 -------
Created an attachment (id=77998) [details]
new patch that uses single quotes instead of double quotes to create the
wrapper

I'm currently running an amd64 stage1 build with this patch. It is distributing
properly to the sparc.

------- Comment #3 From Andrew Gaffney 2006-01-24 08:09:06 0000 -------
Created an attachment (id=78003) [details]
new (hopefully) working patch

When I switched to single quotes in the last patch, it killed the ${CHOST}
substitution when writing out the wrapper script. This should fix that.

------- Comment #4 From Andrew Gaffney 2006-01-24 14:05:06 0000 -------
Created an attachment (id=78029) [details]
slightly different approach to wrapper script

I just finished a stage 1, 2, and 3 build using this final patch.

------- Comment #5 From Chris Gianelloni (RETIRED) 2006-02-01 13:14:35 0000 -------
Got any ideas on how to make this work on CHOST=i[3456]86-* stuff?  I have no
problem adding this, but don't want to introduce any new bugs/problems with it.

------- Comment #6 From Andrew Gaffney 2006-02-01 13:50:12 0000 -------
Well, that only works if someone puts 'export CC=cc' in their envscript, and
even then some builds don't work with it. The method is already broken to begin
with.

The proper way to do this is to build a i586-pc-linux-gnu "cross-compiler" on a
i686-pc-linux-gnu box or just create symlinks in the proper place.

------- Comment #7 From Chris Gianelloni (RETIRED) 2007-04-20 18:05:31 0000 -------
OK.  I (finally) have a clue and have looked at this.  It looks good except for
the cleanup.  We don't want to just remove everything.  Instead, we should be
restoring it to its previous state, so we can still have a distcc package if
this were a LiveCD.

------- Comment #8 From Andrew Gaffney 2007-04-27 02:29:40 0000 -------
Created an attachment (id=117356) [details]
patch

This updates the patch to put /usr/lib/distcc/bin/ back to the way it was
before we touch it, instead of just clearing it all together.

------- Comment #9 From Chris Gianelloni (RETIRED) 2007-10-11 23:39:23 0000 -------
OK.  This is in SVN now and will show up in 2.0.5_pre4 or later.

------- Comment #10 From Chris Gianelloni (RETIRED) 2007-10-12 00:08:12 0000 -------
This should be fixed in 2.0.5_pre4.  Please test this version of catalyst (or
newer) and report back if it does not work.

Thanks

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug