Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Search
  • Search

Search found 53 matches

Go to advanced search

Advanced search
Search found 53 matches
  • 1
  • 2
  • 3
  • Next
by EliasJonsson
Wed Apr 05, 2023 3:20 am
Forum: Kernel & Hardware
Topic: Does genkernel compile with make.conf CFLAGS?
Replies: 13
Views: 11487

That post does not show the output of make as it invoked gcc . That post assumes use of genkernel. It's not clear from your most recent posts if you built the kernel by hand or if you let genkernel do it.
I built the kernel using genkernel all

You might be able to derive the answer from the ...
  • Jump to post
by EliasJonsson
Wed Apr 05, 2023 3:17 am
Forum: Kernel & Hardware
Topic: Does genkernel compile with make.conf CFLAGS?
Replies: 13
Views: 11487

For a manual build of the kernel, make V=1 makefile_target will show the full compiler invocations, including compiler options used. I don't know how to do it when Genkernel is used to build the kernel, though.
I would suggest MAKEOPTS="V=1" in /etc/genkernel.conf . Not tested though.

Added ...
  • Jump to post
by EliasJonsson
Tue Apr 04, 2023 2:07 am
Forum: Kernel & Hardware
Topic: Does genkernel compile with make.conf CFLAGS?
Replies: 13
Views: 11487


Matching size is suspicious, but not definitive. What command line did make use to run gcc on the kernel source? What did you do that you expected to influence the kernel's build?

See post #2 in this thread, I think that post answer your questions.

To get to the bottom with the similarities of ...
  • Jump to post
by EliasJonsson
Mon Apr 03, 2023 3:21 pm
Forum: Kernel & Hardware
Topic: Does genkernel compile with make.conf CFLAGS?
Replies: 13
Views: 11487

May i quote from the file /etc/genkernel.conf: # Genkernel uses an independent configuration for MAKEOPTS, and does not source
# /etc/portage/make.conf . You can override the default setting by uncommenting
# and tweaking the following line. Default setting is set up by
# ${GK_SHARE}/${ARCH ...
  • Jump to post
by EliasJonsson
Mon Apr 03, 2023 5:48 am
Forum: Portage & Programming
Topic: [SOLVED] glibc with custom-cflags
Replies: 4
Views: 1853

fedeliallalinea wrote:You can unmasking use flag with package.use, but at your own risk because if it's masked there is a reason .
Thanks for the heads-up!
  • Jump to post
by EliasJonsson
Mon Apr 03, 2023 5:47 am
Forum: Portage & Programming
Topic: [SOLVED] glibc with custom-cflags
Replies: 4
Views: 1853

Thanks, tried that but it still didn't work as the use flag was masked. Had to the unmask the use flag by:

Code: Select all

mkdir -p /etc/portage/profile/use.mask
## nano /etc/portage/profile/use.mask/glibc
-custom-cflags
##
and setting custom-cflags in make.conf:

Code: Select all

USE="custom-cflags"
  • Jump to post
by EliasJonsson
Mon Apr 03, 2023 5:40 am
Forum: Kernel & Hardware
Topic: Does genkernel compile with make.conf CFLAGS?
Replies: 13
Views: 11487

found the solution elsewhere:
nano /etc/genkernel.conf

And add the line:

KERNEL_CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"

Then go to linux source folder and issue the command:

genkernel all


Verify CFLAGS using

nano /var/log/genkernel.log


look for the entry * KERNEL ...
  • Jump to post
by EliasJonsson
Mon Apr 03, 2023 4:29 am
Forum: Kernel & Hardware
Topic: Does genkernel compile with make.conf CFLAGS?
Replies: 13
Views: 11487

Does genkernel compile with make.conf CFLAGS?

Hello Gentoo Community,
when using genkernel, is the kernel compiled using the custom cflags in the /etc/portage/make.conf when the

Code: Select all

genkernel all
is executed?
  • Jump to post
by EliasJonsson
Mon Apr 03, 2023 4:22 am
Forum: Portage & Programming
Topic: [SOLVED] glibc with custom-cflags
Replies: 4
Views: 1853

[SOLVED] glibc with custom-cflags

Hello,
I'm using the profile

Code: Select all

[12]  default/linux/amd64/17.1/desktop/systemd (stable)
is there a way of making glibc compile using custom-cflags?
  • Jump to post
by EliasJonsson
Fri Jun 24, 2022 4:55 am
Forum: Gentoo on ARM
Topic: dropping to emergency shell upon boot
Replies: 11
Views: 12527

I solved the mystery with the black screen upon boot. All that was needed was to insert `hdmi_hotplug=1` in config.txt and the screen wouldn't go blank. No need to reinstall Gentoo, I hope.
However, I managed to boot once without first needing to go through systemd `emergency mode`, but that was ...
  • Jump to post
by EliasJonsson
Fri Jun 24, 2022 2:56 am
Forum: Gentoo on ARM
Topic: dropping to emergency shell upon boot
Replies: 11
Views: 12527

EliasJonsson,
I know that config.txt. I wrote it. :)

I am glad you did! It has been working terrifically well indeed!

EliasJonsson,
[ 5.607628] vc4-drm gpu: [drm] The core clock cannot reach frequencies high enough to support 4k @ 60Hz.
[ 5.607660] vc4-drm gpu: [drm] Please change your config ...
  • Jump to post
by EliasJonsson
Fri Jun 24, 2022 2:48 am
Forum: Gentoo on ARM
Topic: dropping to emergency shell upon boot
Replies: 11
Views: 12527

@neddy,
@Eliasjosson,
I don't use systemd, so I am just using Internet search for an answer . May be you can try systemctl --failed in the emergency shell to gather more information on what happen

I wish that I could. After an update I now lost visuals. There is no terminal to be seen. Display ...
  • Jump to post
by EliasJonsson
Thu Jun 23, 2022 8:06 am
Forum: Gentoo on ARM
Topic: dropping to emergency shell upon boot
Replies: 11
Views: 12527

EliasJonsson,

I don't use an initrd, so I don't have an emergency shell.

You should have got an error about something failed, dropping you to a shell.
What was the error?

To save me asking later. please post the output of ls -l /boot and the content of both cmdline.txt and config.txt

Here ...
  • Jump to post
by EliasJonsson
Thu Jun 23, 2022 7:58 am
Forum: Gentoo on ARM
Topic: dropping to emergency shell upon boot
Replies: 11
Views: 12527

I thought that I would try booting the broken system again, and lo and behold, the system started without me intervening!
The joy was unfortunately short, because the error reappeared after the next boot, I landed in an emergency shell once again.

Everything seems to be well until 5.6s into the ...
  • Jump to post
by EliasJonsson
Mon May 09, 2022 7:53 am
Forum: Gentoo on ARM
Topic: dropping to emergency shell upon boot
Replies: 11
Views: 12527

Thank you, NeddySeagoon, for your questions and your attention. However, I'm afraid its tool late for that. I switched to Ubuntu Server. Hopefully the slower and less optimized distribution will not come with nasty surprises as Gentoo have given me lately. Good bye Gentoo, it truly was a blast!
  • Jump to post
by EliasJonsson
Sun May 08, 2022 10:11 am
Forum: Gentoo on ARM
Topic: dropping to emergency shell upon boot
Replies: 11
Views: 12527

dropping to emergency shell upon boot

I have two Raspberry Pi 4 running Gentoo using SSDs connected to the Pi's USB ports. Both boxes are updated. Today I tried rebooting one of them. The box dropped to emergency shell.
Tried rebooting the other one. It dropped to an emergency shell. Something tells me Gentoo currently have some ...
  • Jump to post
by EliasJonsson
Sat Oct 30, 2021 5:10 am
Forum: Gentoo on ARM
Topic: PHP FPM exiting on SIGPROF
Replies: 0
Views: 5056

PHP FPM exiting on SIGPROF

I run Gentoo on a Raspberry Pi 4 4GB. That box hosts a website running Nginx and PHP FPM.
About every 50 page load or so, Nginx tells the user '502 bad gateway', so I looked in the /var/log/php-fpm.log and found this:


[28-Oct-2021 14:35:49] WARNING: [pool varpansauna] child 3621 exited on signal ...
  • Jump to post
by EliasJonsson
Wed Oct 27, 2021 10:42 am
Forum: Networking & Security
Topic: Setting up an MTA on Gentoo
Replies: 2
Views: 4674

Setting up an MTA on Gentoo

I have searched the Internet but failed to find a good guide on how to set up an MTA so that I can run
sendmail someone@email.address < 1.mail
with the someone@email.address replaced with a real email address.

I own the domain eliax.trade. The mx-record, mx.eliax.trade is pointing towards the ...
  • Jump to post
by EliasJonsson
Wed Oct 27, 2021 8:51 am
Forum: Gentoo on ARM
Topic: Trick Portage into having installed Rust
Replies: 6
Views: 7115

Zucca wrote:At least the command has --tlsv1.2, but doing curlpipesh is bad.
As mentioned above, use rust-bin then instead if you cannot compile rust.
Will do. Thanks for pointing that out!
  • Jump to post
by EliasJonsson
Mon Oct 25, 2021 5:15 am
Forum: Gentoo on ARM
Topic: Trick Portage into having installed Rust
Replies: 6
Views: 7115

Trick Portage into having installed Rust

I own a Raspberry Pi 4, 4GB RAM. 4 GB RAM isn't enough in order to compile the Rust package. Although, It is possible to just run
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
and have Rust installed.

Is it possible to somehow tell Portage that the rust package already is ...
  • Jump to post
by EliasJonsson
Mon Oct 25, 2021 5:09 am
Forum: Gentoo Chat
Topic: Portage written in a natively compiled language
Replies: 2
Views: 3348

Portage written in a natively compiled language

Speed is something every Gentoo user values, I can imagine. Why isn't Portage written in a natively compiled language like Rust?
Has there been any talk about rewriting Portage lately?
  • Jump to post
by EliasJonsson
Sun May 23, 2021 5:15 am
Forum: Gentoo on ARM
Topic: [SOLVED] syncthing 1.15 does not build
Replies: 7
Views: 6292

well yes. Saving config files throughout the system. Anyways, I removed the /.git directory and syncthing compiled successfully. Thank you for pointing me in the right direction!
  • Jump to post
by EliasJonsson
Sat May 22, 2021 11:40 am
Forum: Gentoo on ARM
Topic: [SOLVED] syncthing 1.15 does not build
Replies: 7
Views: 6292

The following lines are now commented out in make.conf:
#FEATURES="ccache"
#CCACHE_DIR="/var/cache/ccache"

and `ran emerge --unmerge ccache` just to be sure it was disabled.


now emerge --info outputs:

Portage 3.0.18 (python 3.8.9-final-0, default/linux/arm64/17.0/systemd, gcc-10.2.0, glibc-2.32 ...
  • Jump to post
by EliasJonsson
Sat May 22, 2021 6:38 am
Forum: Gentoo on ARM
Topic: [SOLVED] syncthing 1.15 does not build
Replies: 7
Views: 6292

emerge --info:
Portage 3.0.18 (python 3.8.9-final-0, default/linux/arm64/17.0/systemd, gcc-10.2.0, glibc-2.32-r7, 5.10.23-v8+ aarch64)
=================================================================
System uname: Linux-5.10.23-v8+-aarch64-with-glibc2.17
KiB Mem: 3701652 total, 938512 free
KiB ...
  • Jump to post
by EliasJonsson
Fri May 21, 2021 9:46 am
Forum: Gentoo on ARM
Topic: [SOLVED] syncthing 1.15 does not build
Replies: 7
Views: 6292

[SOLVED] syncthing 1.15 does not build

64-bit ARM Gentoo install and the lastest version of syncthing does not build. Anyone here experiencing the same problem?
  • Jump to post

Search found 53 matches
  • 1
  • 2
  • 3
  • Next

Go to advanced search

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic