Closed Bug 850829 Opened 11 years ago Closed 11 years ago

Build and deploy gcc 4.7 on all linux/linux64 build slaves

Categories

(Release Engineering :: General, defect)

All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: glandium, Assigned: rail)

References

Details

Attachments

(2 files, 6 obsolete files)

Attached file RPM spec (obsolete) —
Hopefully, the spec works (maybe the deps are wrong, I'm not sure, I just kept the ones from gcc45)

The corresponding sources:
http://ftp.gnu.org/gnu/gcc/gcc-4.7.2/gcc-4.7.2.tar.bz2
http://ftp.gnu.org/gnu/gmp/gmp-5.0.5.tar.bz2
http://www.mpfr.org/mpfr-3.0.1/mpfr-3.0.1.tar.bz2
http://www.multiprecision.org/mpc/download/mpc-1.0.1.tar.gz
Attached file RPM spec (obsolete) —
The gmp version was wrong. This built fine for me on a fresh Centos 6.4 + ordinary dependencies (compiler, glibc-devel, rpm-build, m4, make, tar)
I don't expect this to fail if you use the same environment as the one where you built gcc 4.5.
Attachment #724573 - Attachment is obsolete: true
Attached file RPM spec (obsolete) —
Re-attach, since the previous version had the beginning cut for some reason.
Attachment #724847 - Attachment is obsolete: true
Attached file RPM spec (obsolete) —
Either my aurora build, gtk, or b.m.o doesn't like this file. Trying again. Sorry for the noise.
Attachment #724905 - Attachment is obsolete: true
Attached file RPM spec (obsolete) —
Attachment #724906 - Attachment is obsolete: true
Attached patch spec file (obsolete) — Splinter Review
32 and 64-bit RPMs uploaded to the releng Yum repo as well as my people account:

 http://people.mozilla.org/~jhopkins/bug850829/

Will need to modify mock_packages in our buildbot-configs to have the package installed into our build environment.
For clarity, the gcc47 packages would need to be installed in addition to gcc45 already in mock_packages.
Blocks: 850689
Assignee: nobody → rail
Blocks: 852745
jhopkins, did you build the packages using one of the attached specs or http://hg.mozilla.org/build/rpm-sources/rev/223964127252 ?

I just checked the package and found a mismatch between its version and install prefix - /tools/gcc-4.7.2-0moz1 vs 0moz4.
Flags: needinfo?(jhopkins)
nm, http://hg.mozilla.org/build/rpm-sources/rev/223964127252 is gcc45. I'll need to fix the spec and rebuild the packages.
Flags: needinfo?(jhopkins)
Attached patch gcc47.specSplinter Review
jhopkins, can you take a look at https://wiki.mozilla.org/ReleaseEngineering/PuppetAgain/HowTo/Build_RPMs#Building and see if that page is accurate. I've been having troubles to follow those instructions. Or can you dump your steps here?
Attachment #724907 - Attachment is obsolete: true
Attachment #724910 - Attachment is obsolete: true
Attachment #726988 - Flags: review?(jhopkins)
Comment on attachment 726988 [details] [diff] [review]
gcc47.spec

The spec looks reasonable, passes visual inspection.

The environment+steps I used to build the previous gcc package are here:

 https://bugzilla.mozilla.org/show_bug.cgi?id=827354#c22
Attachment #726988 - Flags: review?(jhopkins) → review+
Attached patch configsSplinter Review
Attachment #727830 - Flags: review?(jhopkins)
Attachment #727830 - Flags: review?(jhopkins) → review+
Blocks: gcc-4.7
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: