This is the mail archive of the
mailing list for the binutils project.
Re: problem building glibc-2.3.2 with gcc-3.4.0 andbinutils-220.127.116.11.3 for m68k
- From: "C Jaiprakash, Noida" <C dot Jaiprakash at noida dot hcltech dot com>
- To: <schwab at suse dot de>
- Cc: <binutils at sources dot redhat dot com>, <peter at the-baradas dot com>
- Date: Fri, 23 Jul 2004 14:22:12 +0530
- Subject: Re: problem building glibc-2.3.2 with gcc-3.4.0 andbinutils-18.104.22.168.3 for m68k
I also had ran into same problem while building glibc, however I think problem is at following line
#,"a",@progbits in below assembly.
I just tried removing it, assemblt dont complain after that. This is coming from this defines in glibc
/* Tacking on "\n\t#" to the section name makes gcc put it's bogus
section attributes on what looks like a comment to the assembler. */
# ifdef HAVE_SECTION_QUOTES
# define __sec_comment "\"\n\t#\""
# define __sec_comment "\n\t#"
I am not sure where this should be fixed, though comment above says that this should appear as comment to assembler. But for m68k it is not appearing as a comment.
> While testing all the targets crosstool supports with the new combination of tools
> (gcc-3.4.0 and binutils-22.214.171.124.3),
> I ran into an error with --host=x86-linux --target m68k-linux:
> localealias.s:544: Error: junk at end of line, first unrecognized character is `,'
> Here are lines 544 to 546 of localealias.s:
> 544 .local lock
> 545 .comm lock,24,2
> 546 .section __libc_freeres_ptrs
> So I guess it didn't like the ,24,2 on the .comm line.
No, gas is actually complaining about line 547 (it does not properly count
lines in #APP/#NO_APP sections). See the thread starting at