Posts
4497
Following
316
Followers
475
Linux kernel hacker and maintainer etc.

OpenPGP: 3AB05486C7752FE1

Jarkko Sakkinen

Edited 9 months ago

@ljs both tried the errors do not differ from below. Only thing I can add is the result that I expected, i.e. compiles if only either is included, with or without _GNU_SOURCE. Right, and my distribution is Fedora 40.

Environment (sorry I just respond like this was every other LKML mail):

❯ gcc -v
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/14/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:amdgcn-amdhsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,m2,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-libstdcxx-backtrace --with-libstdcxx-zoneinfo=/usr/share/zoneinfo --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl=/builddir/build/BUILD/gcc-14.2.1-20240912/obj-x86_64-redhat-linux/isl-install --enable-offload-targets=nvptx-none,amdgcn-amdhsa --enable-offload-defaulted --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux --with-build-config=bootstrap-lto --enable-link-serialization=1
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.1 20240912 (Red Hat 14.2.1-3) (GCC) 

❯ uname -a
Linux suppilovahvero 6.11.3-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Oct 10 22:31:19 UTC 2024 x86_64 GNU/Linux

❯ rpm -qi kernel-headers-6.11.3-200.fc40.x86_64 
Name        : kernel-headers
Version     : 6.11.3
Release     : 200.fc40
Architecture: x86_64
Install Date: Tue 15 Oct 2024 05:47:24 PM EEST
Group       : Unspecified
Size        : 6709143
License     : ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-2-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-only WITH Linux-syscall-note) OR CDDL-1.0) AND ((GPL-2.0-only WITH Linux-syscall-note) OR Linux-OpenIB) AND ((GPL-2.0-only WITH Linux-syscall-note) OR MIT) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR BSD-3-Clause) AND ((GPL-2.0-or-later WITH Linux-syscall-note) OR MIT) AND BSD-3-Clause AND (GPL-1.0-or-later WITH Linux-syscall-note) AND GPL-2.0-only AND (GPL-2.0-only WITH Linux-syscall-note) AND (GPL-2.0-or-later WITH Linux-syscall-note) AND (LGPL-2.0-or-later WITH Linux-syscall-note) AND (LGPL-2.1-only WITH Linux-syscall-note) AND (LGPL-2.1-or-later WITH Linux-syscall-note) AND MIT
Signature   : RSA/SHA256, Fri 11 Oct 2024 03:04:41 AM EEST, Key ID 0727707ea15b79cc
Source RPM  : kernel-headers-6.11.3-200.fc40.src.rpm
Build Date  : Thu 10 Oct 2024 10:39:31 PM EEST
Build Host  : bkernel02.iad2.fedoraproject.org
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.kernel.org/
Bug URL     : https://bugz.fedoraproject.org/kernel-headers
Summary     : Header files for the Linux kernel for use by glibc
Description :
Kernel-headers includes the C header files that specify the interface
between the Linux kernel and userspace libraries and programs.  The
header files define structures and constants that are needed for
building most standard programs and are also needed for rebuilding the
glibc package.

I.e. almost as fresh as it gets ATM.

1
0
1

This is Matt (aka Mr ) who works to make chip design more accessible to students and enthusiasts. The Tiny Tapeout project: https://tinytapeout.com uses a fully open source pipeline to synthesise, verify and layout asic designs and combine them with other projects to amortise the wafer cost and make custom designs possible.

1
1
2
@stsquad wow amazing shit, first time i'm hearing about this!
0
0
0

Jarkko Sakkinen

went outside my house, and took a selfie for some linkedin "new hire" publication. not even know if i'm able to see it because i don't have a linkedin account.

#tampere #finland #linkedin
0
0
2
@vaguelytagged TBH, I don't mind if you do. Whatever makes you do create awesome things is awesome by definition :-) I'm not a language/tool fan at all...
1
0
1
@vaguelytagged I pay my bills with C and Rust but yeah I believe mostly in ecosystems where there are multiple choices and not one single best choice :-)
1
0
0

Jarkko Sakkinen

3.5 weeks of delay but I switched my job in the middle, finalized setting up my own company and contracts (as I'm a contractor) and learned to hack DWARF, so please aim your stones at me 🙃 🤷 🍄

https://lore.kernel.org/linux-integrity/20240921120811.1264985-1-jarkko@kernel.org/

#linux #kernel
0
1
4

@kolev learn the lifestyle of jomo instead 👌🏾

thanks @selea for sharing this pic a while ago 😆 saved it back then to my phone haha

2
3
1

Jarkko Sakkinen

"Safer with Google: Advancing Memory Safety"

IMHO also Swift is also worth of a mention in this context given how it has been growing far beyond Apple's ecosystem. I've never even tried it but my friends who do games for consoles, mobile etc. seem to like it (and competition is great).

https://security.googleblog.com/2024/10/safer-with-google-advancing-memory.html #rust #swift
1
1
1
Tim Sweeney of EPIC Games?
1
0
0

Jarkko Sakkinen

Is it true that Google Translate translates from A to B with two phases:

1. A to Eng
2. Eng to B
0
0
0

Jarkko Sakkinen

I like the AI intelligence test that Steve Wozniak proposed as an alternative to Turing test. It goes like this: AI has gained human intelligence if it can go to a house that is unknown for it previously, find coffee, filters, coffee boiler etc. and make some coffee.

I don't think we are there just yet...
0
0
0
@vbabka which is nice, i think yubikeys are super easy and intuitive. and work everywhere
0
0
1

Jarkko Sakkinen

Edited 9 months ago
@vbabka I have 4x exact same Yubikey 5 NFC something, 2x my personal/korg and 2x like "office keys".
1
0
1

Jarkko Sakkinen

Edited 9 months ago
@vbabka sure finally can delete yubikey-pin-codes.txt ;-)
0
0
1

Jarkko Sakkinen

Clas Ohlson has the perfect product to separate my 4x Yubikey's from each other:

https://www.clasohlson.com/fi/Avaimenpera/p/31-1646

#yubikey #accessories
1
0
2
Show older