FS#61504 - [aarch64-linux-gnu-glibc] Directory structure in aarch64-linux-gnu* packages
Attached to Project:
Community Packages
Opened by Andrew A (andrew-wja) - Wednesday, 23 January 2019, 10:17 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 18 April 2019, 01:06 GMT
Opened by Andrew A (andrew-wja) - Wednesday, 23 January 2019, 10:17 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 18 April 2019, 01:06 GMT
|
Details
Description:
aarch64-linux-gnu-glibc installs components under /usr/aarch64/usr/XXXX, not /usr/aarch64/XXXX -- is there a reason for this? Libs installed by aarch64-linux-gnu-gcc go in /usr/aarch64/XXXX If there is no reason why the destination directory is set like this, it would remove headaches for users of the cross-compilation tools not to fork the libdirs like this and require people to manually pass -L options when the compiler cannot find libraries that are installed in different places. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Thursday, 18 April 2019, 01:06 GMT
Reason for closing: Fixed
Additional comments about closing: aarch64-linux-gnu-glibc 2.28-2
Thursday, 18 April 2019, 01:06 GMT
Reason for closing: Fixed
Additional comments about closing: aarch64-linux-gnu-glibc 2.28-2
I tried to play with the super-weird gcc's build system and unfortunately I cannot figure out that is going to be the right combination of the flags to achieve the tree structure you are requesting.
BTW: I would be willing to comaintain the package(s), as I have some small interest in toolchains myself :) (and I maintain glibc-git in the AUR in order to keep on top of new things)
To everyone concerned with this bug: can you take a look at https://pkgbuild.com/~eschwartz/repo/x86_64/aarch64-linux-gnu-glibc-2.28-2-any.pkg.tar.xz and tell me if you think this package is good? It implements the moved includedir and s/libdir, moves rtlddir to /usr/lib, and sets sharedir to /usr/share in order to rely on the host glibc -- this last, means that the package size drops down to 18.98 MB from the original 43.2 MB which is a nice bonus.
Looking forward to have better support in this area.