Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 9 Sep 2014 13:43:52 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: c++ abi

* Szabolcs Nagy <nsz@...t70.net> [2014-09-09 03:04:06 +0200]:
> --- x86_64.glibc.abi	2014-09-09 01:40:22.210277471 +0200
> +++ x86_64.musl.abi	2014-09-09 01:41:04.618487657 +0200
...
> @@ -162 +162 @@
> -x_sched_param(sched_param, size (*) [4], align (*) [4])
> +x_sched_param(sched_param, size (*) [48], align (*) [8])
...
> @@ -267 +267 @@
> -x_pthread_rwlockattr_t(pthread_rwlockattr_t, size (*) [8], align (*) [8])
> +x_pthread_rwlockattr_t(pthread_rwlockattr_t, size (*) [8], align (*) [4])
...
> @@ -317 +317 @@
> -x_sem_t(sem_t, size (*) [32], align (*) [8])
> +x_sem_t(sem_t, size (*) [32], align (*) [4])
...
> @@ -360,2 +360,2 @@
> -x_quad_t(long, size (*) [8], align (*) [8])
> -x_rlim_t(unsigned long, size (*) [8], align (*) [8])
> +x_quad_t(long long, size (*) [8], align (*) [8])
> +x_rlim_t(unsigned long long, size (*) [8], align (*) [8])
> @@ -363 +363 @@
> -x_rusage(rusage, size (*) [144], align (*) [8])
> +x_rusage(rusage, size (*) [272], align (*) [8])
> @@ -381,2 +381,2 @@
> -x_cmsghdr(cmsghdr, size (*) [16], align (*) [8])
> -x_fd_mask(long, size (*) [8], align (*) [8])
> +x_cmsghdr(cmsghdr, size (*) [16], align (*) [4])
> +x_fd_mask(unsigned long, size (*) [8], align (*) [8])

cant the different size/alignment cause abi issues
when these types are used embedded into a struct?

and in case of rlim_t if it is used as an argument
to a c++ function

(the omitted diffs are known issues or not relavant to abi compat
i think)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.