Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1237363

Summary: [ppc64le] kernel build failure: gettimeofday.S:42: Error: junk at end of line: `@local'
Product: Red Hat Enterprise Linux 7 Reporter: Martin Sebor <msebor>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED ERRATA QA Contact: Miroslav Franc <mfranc>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: dan, davejohansen, extras-qa, gansalmon, itamar, jakub, jcajka, jonathan, kernel-maint, law, madhu.chinakonda, mcermak, mchehab, menantea, mfranc, mnewsome, mpolacek, mprchlik, ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: gcc-4.8.5-2.el7 Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: 1205236 Environment:
Last Closed: 2015-11-19 12:22:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1205236    
Bug Blocks: 1051573, 1206039, 1206040    

Description Martin Sebor 2015-06-30 23:44:05 UTC
+++ This bug was initially created as a clone of Bug #1205236 +++

With an update to 4.8.5-1.el7 the RHEL 7.2 kernel build fails on ppc64le with the following errors:

arch/powerpc/kernel/vdso32/gettimeofday.S: Assembler messages:
arch/powerpc/kernel/vdso32/gettimeofday.S:42: Error: syntax error; found `@', expected `,'
arch/powerpc/kernel/vdso32/gettimeofday.S:42: Error: junk at end of line: `@local'
arch/powerpc/kernel/vdso32/gettimeofday.S:48: Error: syntax error; found `@', expected `,'
arch/powerpc/kernel/vdso32/gettimeofday.S:48: Error: junk at end of line: `@local'
arch/powerpc/kernel/vdso32/gettimeofday.S:83: Error: syntax error; found `@', expected `,'
arch/powerpc/kernel/vdso32/gettimeofday.S:83: Error: junk at end of line: `@local'
arch/powerpc/kernel/vdso32/gettimeofday.S:87: Error: syntax error; found `@', expected `,'
arch/powerpc/kernel/vdso32/gettimeofday.S:87: Error: junk at end of line: `@local'
arch/powerpc/kernel/vdso32/gettimeofday.S:195: Error: syntax error; found `@', expected `,'
arch/powerpc/kernel/vdso32/gettimeofday.S:195: Error: junk at end of line: `@local'
make[2]: *** [arch/powerpc/kernel/vdso32/gettimeofday.o] Error 1
make[2]: *** Waiting for unfinished jobs....
arch/powerpc/kernel/vdso32/datapage.S: Assembler messages:
arch/powerpc/kernel/vdso32/datapage.S:57: Error: syntax error; found `@', expected `,'
arch/powerpc/kernel/vdso32/datapage.S:57: Error: junk at end of line: `@local'
arch/powerpc/kernel/vdso32/datapage.S:78: Error: syntax error; found `@', expected `,'
arch/powerpc/kernel/vdso32/datapage.S:78: Error: junk at end of line: `@local'
make[2]: *** [arch/powerpc/kernel/vdso32/datapage.o] Error 1
make[1]: *** [arch/powerpc/kernel/vdso32] Error 2
make: *** [arch/powerpc/kernel] Error 2
make: *** Waiting for unfinished jobs....

The same solution as in bug 1205236, namely adding --enable-targets=powerpcle-linux to --disable-multilib when configuring gcc is being tested.

Comment 4 errata-xmlrpc 2015-11-19 12:22:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2080.html