tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] plans to 0.9.27


From: Chris Marshall
Subject: Re: [Tinycc-devel] plans to 0.9.27
Date: Wed, 11 Oct 2017 20:54:10 -0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

I just confirmed that restoring the "build
windows tcc with cygwin" win32/Makefile still
works.

Since there is no posix cygwin build of tcc
available, I suggest not breaking the cygwin
build until there is an actual posix/cygwin
tcc build supported.

After the 0.9.27 official release, I look
forward to contributing development of
a native posix cygwin tcc.

--Chris

On 10/11/2017 19:14, Chris Marshall wrote:
I was able to 'make' and 'make test' with
the original win32/Makefile.  I got home and
tried the "new" version building with cygwin
and now it doesn't pass tests because it says
-run is not valid for a cross compiler.

I think this is a bug since tcc does not
have a posix version for cygwin so while
tcc is built with a cross compiler, if you
are running tcc on windows (built with
cygwin or otherwise) then you have a
*windows* tcc not a "cross-compiler".

But,.... the win32/Makefile worked like a
charm and all tests pass with a simple
build.

Cheers,
Chris


On 10/11/2017 12:20, grischka wrote:
grischka wrote:
avih wrote:
Two things:
1. Will the version be 0.9.27 or 0.9.28?

0.9.27.

2. On windows in msys2 mingw 64 environment with gcc 7.2.0, (building tcc 64 for windows with mingw gcc 64) the build completes but some tests fail (see below).

Now, I fixed that, plus the ARM signed char test, plus some other
stuff.

Also, I removed the win32/Makefile (thanks to Christian's OK),
and the VIP patch (it is just not how it should work), and the
-iwithprefix option (what was the point without -iprefix).

Moreover, there is
* a patch to tccelf.c to avoid DT_TEXTREL unless really required
* a nifty one in tccasm.c to avoid the 'p3' forward label from
  alloca86_64.S being put into dynsym with a relocation (huh?)
* and the (sig)set variable in tcctest.c was made static to
  avoid some issue with inline asm that I didn't try to fix
* no diff -I option anymore to make tests work with busybox
* a patch to tccrun.c for better selinux support.

With these changes, tcc now seems to build and pass all tests
cleanly on Alpine musl x86_64 standard-grsec and vanilla too,
configured with
   ./configure --config-musl --with-selinux
optionally also with
   --disable-static and/or --cc=tcc (once it was installed)

Patch is here:
http://repo.or.cz/tinycc.git/commitdiff/da8c62f75d893449e232944fc62566c020b4d010

You might realize that I bumped the 'master' branch too, which
is meant to mean:
    "This could be what we could release as 0,9,27, soon"

Say next week or so, last-minute-fixes/features notwithstanding.

Thanks,

-- gr

_______________________________________________
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]