Closed Bug 567302 Opened 14 years ago Closed 14 years ago

Need YASM installed on Linux boxes

Categories

(Release Engineering :: General, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: roc, Assigned: jhford)

References

Details

(Whiteboard: [puppet])

Attachments

(5 files)

We need a NASM-syntax-compatible assembler on Linux to build VP8's assembly files. The best option is YASM. Please install it on the build machines.
Are there specific version requirements for the YASM deployed?
Whiteboard: [puppet]
Attached file yasm.spec
spec file.  derived from the fedora yasm package
building rpms with
 mock -r epel-5-i386 rebuild yasm-1.0.1-1.fc12.src.rpm 
 mock -r epel-5-x86_64 rebuild yasm-1.0.1-1.fc12.src.rpm 
on a Fedora 12 machine.
Attached file source rpm
Mock didn't work, built on moz2-linux-slave17
i386 package built on moz2-linux-slave17
Assignee: nobody → jhford
Priority: -- → P2
package built for centos 5.0 on x86_64 processor
puppet manifest changes required to deploy yasm 1.0.1

If we decide to go with the epel provided yasm 0.7.1 we should be able to run
 yumdownloader yasm
on each platform and substitute the version number/arch in this patch.
Attachment #446753 - Flags: feedback?(bhearsum)
Comment on attachment 446753 [details] [diff] [review]
puppet manifest changes

Seems alright. Let's wait until we here back re: the version before we do any landing, though.
Chris Pearce will confirm but I believe 1.0.1 is good.
YASM 1.0.1 is what we need, thanks.
Attachment #446753 - Flags: feedback?(bhearsum) → review?(bhearsum)
Attachment #446728 - Flags: review?(rail)
Attachment #446728 - Flags: review?(rail) → review+
Comment on attachment 446753 [details] [diff] [review]
puppet manifest changes

Still looks fine :P.
In the future, as long as you've tested the patch you can carry forward feedback+ as review+.
Attachment #446753 - Flags: review?(bhearsum) → review+
This has been landed and files put in the correct location for production and staging puppet configurations.  This will be picked up as slaves reboot.  The RPMs on the *-puppet machines have not been checked into CVS.

On a 32bit slave:

[cltbld@moz2-linux-slave02 ~]$ yasm --version
yasm 1.0.1.2326
Compiled on May 21 2010.
Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
[cltbld@moz2-linux-slave02 ~]$ file `which yasm`
/usr/bin/yasm: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped

On a 64bit slave:

[cltbld@moz2-linux64-slave03 ~]$ yasm --version
yasm 1.0.1.2326
Compiled on May 21 2010.
Copyright (c) 2001-2010 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.
[cltbld@moz2-linux64-slave03 ~]$ file `which yasm`
/usr/bin/yasm: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
Status: NEW → ASSIGNED
I have been able to run yasm on every slave that i sampled (at random)

Marking as FIXED.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Blocks: 570994
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: