Hi Waldemar,
On Mon, 2016-07-11 at 16:14 +0000, Alexey Brodkin wrote:
Hi Waldemar,
On Sun, 2016-07-10 at 10:22 +0200, Waldemar Brodkorb wrote:
Hi,
I am extending my test coverage and doing some tests with
static/debug/nothreads/ssp builds.
ARCv1 le is failing when threads are disabled:
/home/wbx/openadk/toolchain_nsim-arcv1_uclibc-ng_arc700/usr/bin/arc-openadk-linux-uclibc-gcc
-c libc/sysdeps/linux/common/nanosleep.c -o
libc/sysdeps/linux/common/nanosleep.os -Wall -Wstrict-prototypes
-Wstrict-aliasing -funsigned-char -fno-builtin -fno-asm
-fmerge-all-constants -std=gnu99 -mlock -mswape -mA7
-fno-stack-protector -nostdinc -I./include -I./include -include
libc-symbols.h -I./libc/sysdeps/linux/arc -I./libc/sysdeps/linux
-I./ldso/ldso/arc -I./ldso/include -I. -Os -fstrict-aliasing -fwrapv
-fno-ident -mcpu=arc700 -Os -pipe -fomit-frame-pointer
-fno-unwind-tables -fno-asynchronous-unwind-tables
-I./libc/sysdeps/linux/common -isystem
/home/wbx/openadk/toolchain_nsim-arcv1_uclibc-ng_arc700/usr/lib/gcc/arc-openadk-linux-uclibc/4.8.5/include-fixed
-isystem
/home/wbx/openadk/toolchain_nsim-arcv1_uclibc-ng_arc700/usr/lib/gcc/arc-openadk-linux-uclibc/4.8.5/include
-I/home/wbx/openadk/target_nsim-arcv1_uclibc-ng_arc700/usr/include/
-DNDEBUG -DIN_LIB=libc -fPIC -MT
libc/sysdeps/linux/common/nanosleep.os -MD -MP -MF
libc/sysdeps/linux/common/.nanosleep.os.dep
{standard input}: Assembler messages:
{standard input}:15: Error: invalid operands (.bss and .text
sections) for `-'
{standard input}:15: Error: invalid operands (.text and *ABS*
sections) for `&'
{standard input}:17: Error: invalid operands (.text.exit and .text
sections) for `-'
{standard input}:17: Error: invalid operands (.text and *ABS*
sections) for `&'
./ldso/ldso/arc/dl-sysdep.h:156: Error: invalid operands (.text and
*ABS* sections) for `&'
make[6]: *** [ldso/ldso/ldso.oS] Error 1
make[6]: *** Waiting for unfinished jobs....
Any idea?
uClibc-ng 1.0.16, ARC toolchain 2016.03.
We're looking into this issue.
Vlad (in Cc) will update you later with his findings.
Thanks for letting us know.
-Alexey
I can't reproduce the issue you described.
I used command line you provided in your message and it executed correctly
without any failures, corresponding output file was generated.
I tried to build with toochain arc-2016.03 and with arc-2016.09-eng006 tag.
You can also try to build uclibc with this version of arc toolchain.
Though it isn't a release yet many bugs where fixed up to this version.
Sources could be found at our git repo:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/tree/arc-…
If you try please let us know about the results.
Maybe you could give more information about conditions under which the failure occurred?
It would be reasonable if you provide .config file or defconfig your used.
That would help us to debug the issue.
Thanks.
--
Best regards,
Vlad Zakharov <vzakhar(a)synopsys.com>