Forums

Skip to content

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

Search found 113 matches

Go to advanced search

Advanced search
Search found 113 matches
  • 1
  • 2
  • 3
  • 4
  • 5
  • Next
by ville.aakko
Fri Mar 01, 2024 5:52 pm
Forum: Portage & Programming
Topic: [SOLVED] dev-lang/orc fails with illegal instruction suffix
Replies: 4
Views: 984

Touché!

I was using a script (with the rbind and make-rslave mounts) to get into the chroot. I used to have a 32bit chroot and forgot I have linux32 in the script!

Markin as solved!
  • Jump to post
by ville.aakko
Fri Mar 01, 2024 3:20 pm
Forum: Portage & Programming
Topic: [SOLVED] dev-lang/orc fails with illegal instruction suffix
Replies: 4
Views: 984

Yes, there is something wrong with the detection. (Just to clarify: But I'm not cross-compiling =) ).

The Kernel on the host is x86_64:

$ uname -a
Linux ArkkiVille 6.7.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 23 Feb 2024 16:32:48 +0000 x86_64 GNU/Linux


And as this is a chroot, it's the ...
  • Jump to post
by ville.aakko
Fri Mar 01, 2024 2:48 pm
Forum: Portage & Programming
Topic: [SOLVED] dev-lang/orc fails with illegal instruction suffix
Replies: 4
Views: 984

[SOLVED] dev-lang/orc fails with illegal instruction suffix

Hi,

I have this problem when compiling dev-lang/orc. The environment is in a Gentoo chroot on Arch Linux.

I used stage3-amd64-openrc-20240229T194908Z.tar.xz for the chroot.

(the rsync-uri for Gentoo repo is such just because I have another computer running Gentoo and another chroot, to reduce the ...
  • Jump to post
by ville.aakko
Fri Jun 25, 2021 9:02 am
Forum: Installing Gentoo
Topic: Can not boot to gentoo iso file with grub2 [SOLVED]
Replies: 1
Views: 2291

Replying to myself:

This works for me:
menuentry "gentoo-install-i686" {
# set cmdline="dokeymap looptype=squashfs loop=/image.squashfs cdroot"
set iso=/boot/gin.iso
bootoptions="isoboot=$iso root=/dev/ram0 init=/linuxrc dokeymap looptype=squashfs loop=/image.squashfs cdroot vga=791"
loopback ...
  • Jump to post
by ville.aakko
Thu Jun 24, 2021 1:15 pm
Forum: Installing Gentoo
Topic: Can not boot to gentoo iso file with grub2 [SOLVED]
Replies: 1
Views: 2291

Can not boot to gentoo iso file with grub2 [SOLVED]

Hi,

I can not boot from the Gentoo installation CD by chainloading as per the wiki

First, the wiki is not up-to-date; gentoo and gentoo.igz do not reside in isolinux anymore but in boot.

Despite making this change, the booy process fails after it is trying to load the root filesystem ...
  • Jump to post
by ville.aakko
Wed Aug 19, 2020 12:25 pm
Forum: Portage & Programming
Topic: Not all binary packages are created with FEATURES=buildpkg
Replies: 11
Views: 2840

Actually, I think I may have a theory why some packages don't create binary packages. It's specifically caused by the a bit special configuration of the host serving the packages I have.

Possibly those non-@system packages which depend directly on packages in @system will not create binary packages ...
  • Jump to post
by ville.aakko
Wed Aug 19, 2020 12:11 pm
Forum: Portage & Programming
Topic: Not all binary packages are created with FEATURES=buildpkg
Replies: 11
Views: 2840

Hi NeddySeagoon, thanks for your suggestions!

As well as setting FEATURES in make.conf, it can be set on a per package basis too.

Where can I do this? I'm not sure why I would want to, though. I think you mean /etc/portage/env?

However after reading your comment this I did do this (again, in ...
  • Jump to post
by ville.aakko
Sat Aug 15, 2020 12:14 pm
Forum: Portage & Programming
Topic: Not all binary packages are created with FEATURES=buildpkg
Replies: 11
Views: 2840

You mentioned a fakeroot. Do you mean you are building in a chroot environment? If yes, then the Portage configuration in the chroot is what matters, but you showed us the host configuration.
To clarify, the host is the fakeroot machine (the client is not). I do not want to run Gentoo on the host ...
  • Jump to post
by ville.aakko
Fri Aug 14, 2020 2:48 pm
Forum: Portage & Programming
Topic: Not all binary packages are created with FEATURES=buildpkg
Replies: 11
Views: 2840

Thanks for your suggestion but glibc certainly is not (only) a build dependency. Neither are any of the packages I've mentioned individually, they are all required also as run-time dependencies (or at least pulled in on the client).

There might be some pattern relating to what is / is not in ...
  • Jump to post
by ville.aakko
Fri Aug 14, 2020 8:22 am
Forum: Portage & Programming
Topic: Not all binary packages are created with FEATURES=buildpkg
Replies: 11
Views: 2840

Not all binary packages are created with FEATURES=buildpkg

Hi,

I have a binary package host (in a fakeroot) to create packages for a slow machine. For some reason, binary packages are often not created after running emerge.

Some relevant information (from the host):

# emerge --info
Portage 2.3.103 (python 3.7.8-final-0, default/linux/x86/17.0, gcc-9.3 ...
  • Jump to post
by ville.aakko
Wed Jul 01, 2020 4:05 pm
Forum: Portage & Programming
Topic: Binpkg host and /usr/portage/packages/*/* permissions
Replies: 5
Views: 2100

Of course I should have posted emerge --info:
Portage 2.3.99 (python 3.7.7-final-0, default/linux/x86/17.0, gcc-9.3.0, glibc-2.30-r8, 5.7.6-zen1-1-zen i686)
=================================================================
System uname: Linux-5.7.6-zen1-1-zen-i686-Intel-R-_Core-TM-_i7-4790K_CPU_@_4 ...
  • Jump to post
by ville.aakko
Wed Jul 01, 2020 12:05 am
Forum: Portage & Programming
Topic: Binpkg host and /usr/portage/packages/*/* permissions
Replies: 5
Views: 2100

portage and quickpkg create the files as root:root and with permissions -rw-r---. How are you using quickpkg? Mostly I don't use quickpkg. I just emerge the packages and have "buildpkg" in the FEATURES. I just mentioned it in case it would be expected them to have different behavior. I'm not aware ...
  • Jump to post
by ville.aakko
Tue Jun 30, 2020 12:43 pm
Forum: Portage & Programming
Topic: Binpkg host and /usr/portage/packages/*/* permissions
Replies: 5
Views: 2100

Binpkg host and /usr/portage/packages/*/* permissions

Hi,

I've set up a binary package host according to this page .

In /etc/profile umask is set to:
/etc/profile:19:umask 022

I access the packages via SSH. This works fine, except portage and quickpkg create the files as root:root and with permissions -rw-r---. Of course, this won't work with a ...
  • Jump to post
by ville.aakko
Sun Jun 02, 2019 7:17 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

cross-compiling eix for k6 [WORKAROUND:use gcc<8]

Hi Tony and NeddySeagoon again!


It would be good to nail down the illegal instruction and at what line of code it appears for the bug report.
It would be a good exercise for the OP to re-compile eix with -O0 and debug support, verify that the bug still exists (trivially running "eix -e eix" on ...
  • Jump to post
by ville.aakko
Sun Jun 02, 2019 7:14 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756


Both the build lines for the failing file are the same.
i486-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DSYSCONFDIR="/etc" -DLOCALEDIR="/usr/share/locale" -fdata-sections -ffunction-sections -mindirect-branch=thunk -mfunction-return=thunk -fcf-protection=full -fstack-clash-protection -D_FORTIFY ...
  • Jump to post
by ville.aakko
Tue May 28, 2019 7:30 am
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

Hi Tony and NeddySeagoon!

ville.aakko,

Ideally, a trivial test case is required. You have a file in a program. That's a great help to debugging.
A function would be even better and a line of code better still.

Include in your bug report the entire content of the file that causes the fail.
Also ...
  • Jump to post
by ville.aakko
Sun May 26, 2019 6:25 am
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

Hi Tony0945!

Your results are identical to mine (just confirming)!

I believe I could of course install 7.3.0 (on all of the boxes), and rebuild relevant toolchain (from the top of my head, I'm not sure do I need bootstrap.sh or is emerge -1 bintools glibc enough... reading trough https://wiki ...
  • Jump to post
by ville.aakko
Wed May 22, 2019 6:59 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

Didn't you say above that building on the k6 box worked? What was your compiler, binutils, and glibc versions and exact CFLAGS, if you didn't give them above. IIRC, all building on the k6 worked and all building off the k-6 didn't work. Unfortunately I don't have an Intel chip to work with. My only ...
  • Jump to post
by ville.aakko
Wed May 22, 2019 7:07 am
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

Hi Tony,

Thanks for your input. I will remove -fomit-frame-pointer and try debugging again, and get back to this.

I'm suspecting a bug in qemu or the qemu setup.
If you will read my previous post, you'll notice this has been reproduced in various different environments, such as a 32 bit chroot ...
  • Jump to post
by ville.aakko
Tue May 21, 2019 3:03 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

ville.aakko,

#3 0x08064771 in _start () at eixTk/stringutils.cc:645
That file contains 646 lines, so I'm not sure that it points to the function that's failing, just the file.

Yes, I know. I was assuming gdb is working as intended, are you saying it should print something else? That line is ...
  • Jump to post
by ville.aakko
Tue May 21, 2019 2:57 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

Hi NeddySeagoon,


Of course I'll be happy to post build logs:

From the slave and the target compiling locally .
Also, environment the slave .


FWIW, I've also compared the environments of the resulting binary packages of eix to locally (on target) compiled, and I've seen nothing out of order ...
  • Jump to post
by ville.aakko
Tue May 21, 2019 8:51 am
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

Ok, I still haven't given up on this, although got other things to do so things are progressing (if you can call this progress) slowly!

Since my last post, I've installed Gentoo in a Pentium MMX VM in Qemu (to rule out a real or a virtual i686 polluting the environment). However, I still get ...
  • Jump to post
by ville.aakko
Sat May 11, 2019 9:27 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

Hi Hu,

That's on the retro box. This is on the slave chroot. It does not have -g in the EMERGE_DEFAULT_OPTS, but:

EMERGE_DEFAULT_OPTS="--jobs 3 --load-average 3.2"

Thanks anyways!


However, I believe I was mistaken! :D Some packages are virtual/ -something, some are so small they will compile ...
  • Jump to post
by ville.aakko
Sat May 11, 2019 8:21 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756

EDIT: Nevermind this post! I was confused by virtual/* -etc and some packages just emerge crazy fast on an i7. Leaving it here just for completeness sake...

Ok, I've noticed something peculiar. Not sure how I didn't notice this before!

From earlier in this thread:


So emerge -eB @system will ...
  • Jump to post
by ville.aakko
Sat May 11, 2019 3:34 pm
Forum: Unsupported Software
Topic: cross-compiling eix for k6 [WORKAROUND:use gcc<8]
Replies: 58
Views: 20756


I missed that yours was not. I probably missed a hyperlink in one of your posts because I need eye surgery and for me, the contrast on hyperlinks in this forum is very poor.

These kind of threads are difficult to follow as it is. The state the problem was at the beginning is not the same anomore ...
  • Jump to post

Search found 113 matches
  • 1
  • 2
  • 3
  • 4
  • 5
  • 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