Closed Bug 722084 Opened 12 years ago Closed 12 years ago

Clang error: unexpected token in '.macro' directive

Categories

(NSS :: Build, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: augsod, Unassigned)

Details

Attachments

(2 files)

Attached file build.log
User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.15 (KHTML, like Gecko) Ubuntu/11.10 Chromium/18.0.997.0 Chrome/18.0.997.0 Safari/535.15

Steps to reproduce:

make -f client.mk, with CC and CXX set to use clang build from trunk or the system clang 2.9 (.mozconfig attached)

uname -a
Linux augsod-laptop 3.0.0-16-generic-pae #27-Ubuntu SMP Tue Jan 24 16:49:33 UTC 2012 i686 i686 i386 GNU/Linux



Actual results:

Build fails on clang -o /home/augsod/Sources/mozilla/obj-i686-pc-linux-gnu/nss/freebl/Linux_SINGLE_SHLIB/mpi_x86.o ... -c mpi/mpi_x86.s with the errors attached in build.log.



Expected results:

Build should be able to proceed past this point.
Attached file .mozconfig
It seems we are affected by this bug:

http://llvm.org/bugs/show_bug.cgi?id=9248
Component: Untriaged → Build Config
QA Contact: untriaged → build.config
Assignee: nobody → nobody
Component: Build Config → Build
Product: Firefox → NSS
QA Contact: build.config → build
Version: Trunk → trunk
(In reply to August Sodora from comment #2)
> It seems we are affected by this bug:
> 
> http://llvm.org/bugs/show_bug.cgi?id=9248

True. August, is the clang you are using newer than 132656? If I remember correctly I coded 132656 to fix this very bug...
I am closing as worksforme as I was able to assemble mpi_x86.s with a current clang.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: