This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/19769] New: glibc cross-compile fails with cross-rpcgen syntax error


https://sourceware.org/bugzilla/show_bug.cgi?id=19769

            Bug ID: 19769
           Summary: glibc cross-compile fails with cross-rpcgen syntax
                    error
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: critical
          Priority: P2
         Component: build
          Assignee: unassigned at sourceware dot org
          Reporter: martin.galvan at tallertechnologies dot com
                CC: carlos at redhat dot com
  Target Milestone: ---

Created attachment 9065
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9065&action=edit
Configure log

Hi everyone! When trying to cross-compile glibc for ARM I'm getting the
following error:

/home/gs/sandbox/glibc/build-cross/sunrpc/cross-rpcgen: 1:
/home/gs/sandbox/glibc/build-cross/sunrpc/cross-rpcgen: Syntax error: word
unexpected (expecting ")")

Here's my configure line:

$ ../glibc/configure --prefix="/home/gs/sandbox/glibc/install-cross"
CC=arm-linux-gnueabi-gcc arm-linux-gnueabi

And the contents of my configparms file:

CC=arm-linux-gnueabi-gcc
BUILD_CC=arm-linux-gnueabi-gcc

Notice that after running configure I edited config.make so that it'll use the
ARM binaries for ar and nm:

# Build tools.
CC = arm-linux-gnueabi-gcc
CXX = g++
BUILD_CC = 
CFLAGS = -g -O2
CPPFLAGS-config = 
CPPUNDEFS = -U_FORTIFY_SOURCE
ASFLAGS-config =  -Wa,--noexecstack
AR = arm-linux-gnueabi-ar
NM = arm-linux-gnueabi-nm
MAKEINFO = makeinfo
AS = $(CC) -c
BISON = bison
AUTOCONF = no
OBJDUMP = arm-linux-gnueabi-objdump
OBJCOPY = arm-linux-gnueabi-objcopy
READELF = arm-linux-gnueabi-readelf

I'm also attaching a config.log from a configure I ran after that change.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]