Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Spenser Gilliland <spenser309@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Adding Microblaze support to Buildroot
Date: Thu, 10 Nov 2011 16:55:18 -0600	[thread overview]
Message-ID: <4EBC5656.2010103@gmail.com> (raw)
In-Reply-To: <4EBC554E.7050605@gmail.com>

Hi, I'm trying to add the Microblaze arch to buildroot.  However, I'm
having some issues.  The following error comes up when building the
intermediate compiler.

zh_HK.utf8
zh_SG.utf8
zh_TW.utf8
zu_ZA.utf8
/usr/bin/make -j1 -C
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc \
         ARCH="microblaze" \

PREFIX=/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/
\
         DEVEL_PREFIX=/usr/ \

RUNTIME_PREFIX=/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/
\
         HOSTCC="/usr/bin/gcc" headers \
         lib/crt1.o lib/crti.o lib/crtn.o \
         install_headers
make[1]: Entering directory
`/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc'
make[1]: Nothing to be done for `headers'.
make[1]: `lib/crt1.o' is up to date.
make[1]: `lib/crti.o' is up to date.
make[1]: `lib/crtn.o' is up to date.
   INSTALL include ->
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev//usr/include
unifdef: can't open include/bits/semaphore.h: No such file or directory
unifdef: can't open include/bits/pthreadtypes.h: No such file or directory
make[1]: Leaving directory
`/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc'
# Install the kernel headers to the first stage gcc include dir
# if necessary
if [ ! -f
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/usr/include/linux/version.h
]; then \
         cp -pLR
/home/spenser/Research/buildroot/buildroot/output/toolchain/linux/include/*
\

/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/usr/include/;
\
     fi
/home/spenser/Research/buildroot/buildroot/output/host/usr/bin/microblaze-unknown-linux-uclibc-gcc
-nostdlib -nostartfiles -shared -x c /dev/null -o
/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc_dev/usr/lib/libc.so
/tmp/ccU2bXNp.o: could not read symbols: No error
collect2: ld returned 1 exit status
make: ***
[/home/spenser/Research/buildroot/buildroot/output/toolchain/uClibc/.configured]
Error 1

The part which states "could not read symbols: No error" leaves me with
very little idea on how to proceed.

Additionally, the missing semaphore.h and pthreadtypes.h could be
related.  Which component provides these files and how do I ensure they
are installed correctly.

My changes are available at  git://github.com/Spenser309/buildroot.git

Thanks,
Spenser

-- 
Spenser Gilliland
Illinois Institute of Technology
Computer Engineering

       reply	other threads:[~2011-11-10 22:55 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4EBC554E.7050605@gmail.com>
2011-11-10 22:55 ` Spenser Gilliland [this message]
2011-11-11 12:45   ` [Buildroot] Adding Microblaze support to Buildroot Stephan Hoffmann
2011-11-22  8:52     ` Stephan Hoffmann
2011-11-22  8:58       ` Thomas Petazzoni
2011-11-22  9:07         ` Spenser Gilliland
2011-11-22  9:14       ` Peter Korsgaard
2011-11-23 11:09         ` Stephan Hoffmann
2011-11-23 13:54           ` Thomas Petazzoni
2011-11-23 15:46             ` Stephan Hoffmann
2011-11-23 15:49               ` Thomas Petazzoni
2011-11-23 17:06                 ` Stephan Hoffmann
2011-11-27 17:38             ` [Buildroot] [PATCH] " Stephan Hoffmann
2011-11-28  5:26               ` Baruch Siach
2012-02-11  4:58                 ` Spenser Gilliland
2012-02-11 16:18                   ` Arnout Vandecappelle
2012-02-12 22:44                     ` Spenser Gilliland
2012-02-13  1:03                       ` [Buildroot] [PATCH] Added microblaze patch Spenser Gilliland
2012-02-13 21:37                         ` Arnout Vandecappelle
2012-02-14  0:07                           ` Spenser Gilliland
2012-02-14  3:50                             ` Spenser Gilliland
2012-02-14  5:02                               ` Spenser Gilliland
2012-02-14 17:15                                 ` Arnout Vandecappelle
2012-02-16 21:28                                   ` Spenser Gilliland
2012-02-18 11:16                                     ` Arnout Vandecappelle
2012-02-18 23:34                                       ` Spenser Gilliland
2012-02-14  9:22                               ` Alvaro Gamez
2012-02-14  9:49                                 ` Peter Korsgaard
2012-02-14  9:56                                 ` [Buildroot] [PATCH] DOWNLOAD_WGET: use -O instead of -P to set output file Arnout Vandecappelle
2012-02-14 11:51                                   ` Peter Korsgaard
2012-03-11 17:04                           ` [Buildroot] Added microblaze patch Stephan Hoffmann
2012-03-12 10:58                             ` Alvaro Gamez
2012-03-12 18:03                               ` Stephan Hoffmann
2012-03-13 22:35                                 ` Arnout Vandecappelle
2012-03-14 18:20                                   ` Stephan Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EBC5656.2010103@gmail.com \
    --to=spenser309@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox