Bug 12579 - Error: .size expression does not evaluate to a constant
Summary: Error: .size expression does not evaluate to a constant
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.21
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 18:55 UTC by Meelis Roos
Modified: 2011-03-13 19:46 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
preprocessed assembler file (4.24 KB, application/octet-stream)
2011-03-13 18:55 UTC, Meelis Roos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Meelis Roos 2011-03-13 18:55:04 UTC
Created attachment 5304 [details]
preprocessed assembler file

While trying to compiler Linux 2.6.38-rc8-00065 on parisc64, as gets the following error:

  AS      arch/parisc/kernel/pacache.o
arch/parisc/kernel/pacache.S: Assembler messages:
arch/parisc/kernel/pacache.S:1071: Error: .size expression does not evaluate to a constant

GNU assembler version 2.21.0 (hppa-linux-gnu) using BFD version (GNU Binutils for Debian) 2.21.0.20110302 from Debian package 2.21.0.20110302-2.

Preprocessed assembler file is attached. It looks quite normal, no typos in symbol name. Line 1071 in original file is ".end".
Comment 1 Andreas Schwab 2011-03-13 19:12:56 UTC
.size flush_alias_page, .-flush_alias_page

flush_alias_page is not defined.
Comment 2 Meelis Roos 2011-03-13 19:46:00 UTC
> --- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2011-03-13 19:12:56 UTC ---
> .size flush_alias_page, .-flush_alias_page
> 
> flush_alias_page is not defined.

Thank you, the error line number fooled me to think that the last .size 
was at fault.