Clang error: unexpected token in '.macro' directive

RESOLVED WORKSFORME

Status

NSS
Build
RESOLVED WORKSFORME
6 years ago
6 years ago

People

(Reporter: August Sodora, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 592438 [details]
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.
(Reporter)

Comment 1

6 years ago
Created attachment 592439 [details]
.mozconfig
(Reporter)

Comment 2

6 years ago
It seems we are affected by this bug:

http://llvm.org/bugs/show_bug.cgi?id=9248

Updated

6 years ago
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
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.