tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Ready for Release 0.9.27


From: grischka
Subject: Re: [Tinycc-devel] Ready for Release 0.9.27
Date: Sat, 11 Feb 2017 09:48:22 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Christian Jullien wrote:
Hi Grischka,

The culprit commit is "2016-12-20 grischka tests: OOT build fixes etc."
Sorry Grischka :o)

This is the first commit after which " Segmentation fault' appears.

More specifically, the issue is with lib/Makefile, if I revert only this
file, seg. Fault is gone.
Don't ask me why, but adding again:

PICFLAGS = -fPIC

Great, thanks.  I think it was just the former comment why -fPIC was
needed ("for linking into shared libraries")  which was confusing.
After all neither is tcc generating PIC code for shared libraries
nor do we support building shared libraries on ARM at all.

Anyway, I fixed it.

Now, I suppose that all tests are OK.

Except maybe "42_function_pointer" on ARM64 and possibly ARM?

The question for still failing tests then would be:

Did they work originally and were broken later (and if so by
which commit)  or did they never work on that platform.

Thanks,

--- grischka



...

XFLAGS = $(TGT) $(PICFLAGS)
ifeq "$(XCC)" "$(CC)"
 XFLAGS += $(CFLAGS)
endif

Is enough.

I'm not sure if PICFLAGS should be globally set or inside the ifeq section.
I let you deicde.

Christian


-----Original Message-----
From: Tinycc-devel [mailto:address@hidden
On Behalf Of grischka
Sent: vendredi 10 février 2017 09:11
To: address@hidden
Subject: Re: [Tinycc-devel] Ready for Release 0.9.27

Christian Jullien wrote:
Here is the complete log I get this morning with current mob and
especially ...
make[1]: *** [abitest] Segmentation fault

------------ test3 ------------
../tcc -B.. -I../include -I.. -I..
-DCONFIG_TRIPLET="\"arm-linux-gnueabihf\"" ...
Segmentation fault

I think we first need to find the cause of these crashes on ARM with -run.
Can you investigate that, eventually ?

Thanks,

-- grischka


_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]