lp:klibc

Created by Thorsten Glaser on 2012-02-17 and last modified on 2019-01-20
Get this branch:
bzr branch lp:klibc

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Thorsten Glaser
Project:
klibc
Review team:
maximilian attems
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.kernel.org/pub/scm/libs/klibc/klibc.git.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on izar and finished 2 hours ago taking 15 seconds — see the log
Import started 8 hours ago on alnitak and finished 8 hours ago taking 15 seconds — see the log
Import started 14 hours ago on alnitak and finished 14 hours ago taking 15 seconds — see the log
Import started 20 hours ago on izar and finished 20 hours ago taking 15 seconds — see the log
Import started on 2019-01-19 on izar and finished on 2019-01-19 taking 15 seconds — see the log
Import started on 2019-01-19 on alnitak and finished on 2019-01-19 taking 15 seconds — see the log
Import started on 2019-01-19 on alnitak and finished on 2019-01-19 taking 15 seconds — see the log
Import started on 2019-01-19 on izar and finished on 2019-01-19 taking 15 seconds — see the log
Import started on 2019-01-18 on izar and finished on 2019-01-18 taking 20 seconds — see the log
Import started on 2019-01-18 on alnitak and finished on 2019-01-18 taking 15 seconds — see the log

Recent revisions

2085. By Ben Hutchings 22 hours ago

[klibc] resume: Write resume_offset attribute

Support for a device offset as part of the string written to
/sys/power/resume never got into a mainline kernel.

However, since Linux 4.17 there is a separate resume_offset attribute
that we can use to set the offset before attempting to resume.

Change resume() to write the resume_offset attribute instead.

Signed-off-by: Ben Hutchings <email address hidden>

2084. By Ben Hutchings 22 hours ago

[klibc] Kbuild: Add option to install unstripped binaries

The .deb and RPM packaging tools can automatically split
debugging symbols into a separate package. This requires
that binaries and shared libaries are initially installed
unstripped, and that they are given build IDs.

If CONFIG_DEBUG_INFO is defined:

* Add --build-id=sha1 to the linker options
* Don't strip binaries after linking them

Signed-off-by: Ben Hutchings <email address hidden>

2083. By Ben Hutchings 23 hours ago

[klibc] Build and install kinit and sh without ".shared" suffix

Most binaries are installed with the same name regardless of
whether they use a static or shared library. The two exceptions
to this are kinit and sh, which are installed with the suffix
".shared" if they use a shared library.

Build these binaries in subdirectories, so that the static and shared
versions have the same (unsuffixed) name.

Signed-off-by: Ben Hutchings <email address hidden>

2082. By Ben Hutchings 23 hours ago

[klibc] Build and install shared binaries only if KLIBCSHAREDFLAGS is defined

The shared library build has never worked on ia64, and Debian has a
longstanding patch that changes the install targets to install static
binaries for ia64. This can be generalised to checking whether
KLIBCSHAREDFLAGS is defined, as without that we can't expect to build
a working shared library.

* Include the necessary files in scripts/Kbuild.install so that
  KLIBCSHAREDFLAGS is defined at install time.
* Install static binaries instead of shared if KLIBCSHAREDFLAGS is
  not defined.
* Only install the shared library if KLIBCSHAREDFLAGS is defined.
* Only build the shared library and binaries if KLIBCSHAREDFLAGS is
  defined.

Signed-off-by: Ben Hutchings <email address hidden>

2081. By Ben Hutchings on 2019-01-19

[klibc] 2.0.5 released, next version is 2.0.6

2080. By Ben Hutchings on 2019-01-19

[klibc] Delete remnants of m32r

It was still mentioned in README.m32r and SYSCALLS.def.

Signed-off-by: Ben Hutchings <email address hidden>

2079. By Ben Hutchings on 2019-01-19

[klibc] Update URLs in docs and spec file

Several URLs are no longer valid; in particular kernel.org no longer
provides FTP service.

Unencrypted HTTP and git transports are also insecure, and we can use
HTTP-S for everything now.

Signed-off-by: Ben Hutchings <email address hidden>

2078. By Ben Hutchings on 2019-01-19

[klibc] Delete makerpm.sh, maketar.sh

maketar.sh depends on the long-dead cogito tools, and makerpm.sh
depends on maketar.sh. But apparently no-one needs them, so delete
them.

Signed-off-by: Ben Hutchings <email address hidden>

2077. By Ben Hutchings on 2019-01-18

[klibc] fcntl: Fix file locking numbers for 64-bit architectures

On 64-bit architectures F_{GETLK,SETLK{,W}}64 are *not* aliases for
the non-64 fcntl numbers and are not implemented at all. Only use
them in 32-bit configurations.

Signed-off-by: Ben Hutchings <email address hidden>

2076. By Ben Hutchings on 2019-01-18

[klibc] alpha: Support building without glibc headers

Unless we use the "-nostdinc" option, gcc will implicitly include
<bits/stdc-predef.h>, which is usually provided by glibc. This is
part of $(KLIBCCPPFLAGS) which we generally include in compiler
command lines. Add it to alpha's special rules for compiling the
division subroutines.

Signed-off-by: Ben Hutchings <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers