no, all tools compiled. I now get errors when building msp430 programs.
also I just realized that the permissions for the headers that are
part of msp430mcu were wrong. attached is the fixed pkgbuild.
Jesse

On Sun, Jun 5, 2011 at 10:01 AM, Matthew Hiles <matthew.hi...@gmail.com> wrote:
> Do you get the same error as me?
>
> On 06/05/2011 12:39 PM, Jesse Frey wrote:
>>
>> Here are the PKGBUILD's that I came up with. I used the ones in the
>> AUR as a starting point and combined them with the -git PKGBUILD that
>> came with pacman. They work but now when I get an error in the link
>> stage when trying to build things for msp430 which may be related to
>> packaging or it may be related to me being new to uniarch. I have not
>> looked into this.
>> Jesse
>>
>> On Sun, Jun 5, 2011 at 7:53 AM, Matthew Hiles<matthew.hi...@gmail.com>
>>  wrote:
>>>
>>> Hello,
>>>
>>> I'm trying to make uniarch packages for archlinux. Since I'm using
>>> arch's abs build framework, I can't quite follow the build instructions
>>> from
>>>
>>> http://sourceforge.net/apps/mediawiki/mspgcc/index.php?title=Devel:UniarchGit
>>> to the tee. I'm following as closely as I can while taking what I can
>>> get from the old mspgcc4 packages that someone else made for arch.
>>>
>>> So far, I've got binutils compiled, but I'm stuck trying to compile gcc
>>> itself.
>>>
>>>
>>> The error I get is
>>>
>>>
>>> gcc  -O2 -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
>>> -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
>>> -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
>>> -Wno-overlength-strings -Wold-style-definition -Wc++-compat
>>> -DHAVE_CONFIG_H -Wl,--hash-style=gnu -Wl,--as-needed -o cc1-dummy
>>> c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o
>>> c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o
>>> c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o
>>> c-pch.o c-parser.o  c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o
>>> \
>>>           dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a
>>> ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a
>>> ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
>>> -L/tmp/mspgcc-mspgcc/src/build/./gmp/.libs
>>> -L/tmp/mspgcc-mspgcc/src/build/./mpfr/.libs -lmpc -lmpfr -lgmp -rdynamic
>>> -ldl  -L../zlib -lz -lelf
>>> /usr/bin/ld: __gmpfr_cache_const_euler: TLS definition in
>>> /usr/lib/libmpfr.so.4 section .tdata mismatches non-TLS definition in
>>> /tmp/mspgcc-mspgcc/src/build/./mpfr/.libs/libmpfr.a(const_euler.o)
>>> section .data
>>> /usr/lib/libmpfr.so.4: could not read symbols: Bad value
>>>
>>>
>>> I'm using the following versions:
>>>
>>> _gcc_version=4.5.1
>>> _gmp_version=4.3.2
>>> _mpfr_version=2.4.2
>>>
>>> and gcc is configured with
>>>
>>>   ../gcc-${_gcc_version}/configure     \
>>>                                --disable-libssp \
>>>                                --disable-nls \
>>>                                --target=msp430 \
>>>                                --enable-languages=c,c++ \
>>>                                --infodir=/usr/share/info \
>>>                                --libdir=/usr/lib \
>>>                                --libexecdir=/usr/lib \
>>>                                --mandir=/usr/share/man \
>>>                                --prefix=/usr \
>>>                                --with-gnu-as \
>>>                                --with-gnu-ld \
>>>                                --with-as=/usr/bin/msp430-as \
>>>                                --with-ld=/usr/bin/msp430-ld \
>>>                                --with-pkgversion="MSPGCC-GIT-UNIARCH"
>>>
>>> It seems like I'm missing a library, have a version mismatch, or have
>>> mis-configured something. Any advice or pointers would be appreciated.
>>>
>>> Thanks,
>>>
>>> Zashi
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Simplify data backup and recovery for your virtual environment with
>>> vRanger.
>>> Installation's a snap, and flexible recovery options mean your data is
>>> safe,
>>> secure and there when you need it. Discover what all the cheering's
>>> about.
>>> Get your free trial download today.
>>> http://p.sf.net/sfu/quest-dev2dev2
>>> _______________________________________________
>>> Mspgcc-users mailing list
>>> Mspgcc-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>>>
>
>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to