mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2021.07.0 released
@ 2021-07-06  7:52 Michael Olbrich
       [not found] ` <40f2ae97-36f0-6cf0-915a-253cafd69a3e@benfm.de>
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Olbrich @ 2021-07-06  7:52 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1471 bytes --]

Hi,

I'm happy to announce that I've just released OSELAS.Toolchain-2021.07.0.

This is a major release with significant changes. All components of the
primary toolchains have been updated to the latest versions. The highlights
are:
 - binutils 2.36.1
 - clang 12.0.0
 - gcc 11.1
 - gdb 10.2
 - glibc 2.33
 - kernel headers 5.12.4

This release contains a new x86_64-v3-linux-gnu toolchain. It's a x86_64
toolchain that optimizes with the new -march=x86_64-v3 by default.

All toolchains with clang now also include a rust compiler. This is still
very experimental. I've not really tested this beyond compiling and running
a simple "Hello World" program. And I still need to figure out how to
handle this in PTXdist.

Download the release here:
https://public.pengutronix.de/oselas/toolchain/

Debian / Ubuntu Packages will be available at
http://debian.pengutronix.de/

My current plan is to build packages for bullseye/sid, buster, stretch and
Ubuntu 16.04, 18.04 and 20.04. Note that for Ubuntu 16.04 clang will be
disabled in all toolchains. The gcc version in 16.04 is too old to build
clang 11.

Enjoy,
Michael Olbrich

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2021.07.0 released
       [not found] ` <40f2ae97-36f0-6cf0-915a-253cafd69a3e@benfm.de>
@ 2021-07-12  6:48   ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-07-12  6:48 UTC (permalink / raw)
  To: Felix Mellmann; +Cc: ptxdist

Hi,

I've put the list back in Cc. I think this is interesting for others as
well.

On Sun, Jul 11, 2021 at 02:00:33PM +0200, Felix Mellmann wrote:
> thanks for releasing an updated toolchain!
> 
> Do the ARM 32bit toolchains already make use of the 64 bit unix timestamps
> to overcome the 2k38 problem?

I assume you mean the compat stuff where time_t is 64 bit (with _TIME_BITS
defined).
No. The support for this is still missing in glibc 2.33. I looked into this
when I was working on the toolchains and at the time, there where quite a
few patches that had not been merged for this. From what I can tell, they
have been merged in the meantime. I've not checked if there are still some
bits missing. But I hope that glibc 2.34 will have the full support.

> As far as I can see, glibc is compiled against the kernel 3.16 headers which
> do not include support for 64 bit timestamps on 32 bit machines (https://git.pengutronix.de/cgit/OSELAS.Toolchain/tree/ptxconfigs/arm-v7a-linux-gnueabihf_gcc-11.1.1_clang-12.0.0_glibc-2.33_binutils-2.36.1_kernel-5.12.4-sanitized.ptxconfig?h=v2021.07.0
> , line 51)

That's something else. The toolchain is built with 5.12.4 kernel headers
(line 62). The PTXCONF_GLIBC_ENABLE_KERNEL specifies the oldest kernel this
glibc will run on. Basically how much compat code should be added for
syscalls etc. that did not exist in old kernel versions.

> If the toolchain still uses 32 bit timestamps - are there any plans to
> implement support in an upcoming release?

Yes definitively. Right now I'm still waiting for a glibc release that has
the necessary support. I don't think we actually need to do anything here.
At least in the toolchain. It should just work once we have a glibc that
supports it.

I think the hard part will be all the other userspace software. We need to
compile it with _TIME_BITS (and _FILE_OFFSET_BITS=64). That's the easy
part. But someone need to check all the code to check that time_t is never
cast to/from int...

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-12  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06  7:52 [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2021.07.0 released Michael Olbrich
     [not found] ` <40f2ae97-36f0-6cf0-915a-253cafd69a3e@benfm.de>
2021-07-12  6:48   ` Michael Olbrich

mailarchive of the ptxdist mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.ptxdist.org/ptxdist/0 ptxdist/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ptxdist ptxdist/ https://lore.ptxdist.org/ptxdist \
		ptxdist@pengutronix.de
	public-inbox-index ptxdist

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git