Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to Build::Modules #144

Open
teixeiras opened this issue Oct 27, 2023 · 1 comment
Open

Support to Build::Modules #144

teixeiras opened this issue Oct 27, 2023 · 1 comment

Comments

@teixeiras
Copy link

Hi!
I have several modules, in this io::async module required for my project, but it uses Build::Modules system to build.
My first try is compiling Build::Modules to support this, but Build::Modules uses XS modules from perl so it fails compiling.

Attempt to reload Scalar/Util.pm aborted.
Compilation failed in require at /home/kiepe/kiepe/bsp/platform-x86_64/build-target/perl-5.38.0/lib/Data/Dumper.pm line %.

So, I did try to built all static, it failed compiling

With --mode=cross
--prefix=/usr
--host=$(PTXCONF_GNU_TARGET)
--target=$(PTXCONF_GNU_TARGET)
-Dld=$(CROSS_CC)
-Dldflags=-static -Accflags=-fno-pie
--all-static
-Dusethreads

./miniperl_top statars B Devel::Peek Fcntl File::DosGlob File::Glob Hash::Util Hash::Util::FieldHash I18N::Langinfo Opcode POSIX PerlIO::encoding PerlIO::mmap PerlIO::scalar PerlIO::via SDBM_File Sys::Hostname XS::APItest XS::Typemap attributes mro re Compress::Raw::Bzip2 Compress::Raw::Zlib DB_File Digest::MD5 Digest::SHA Encode Filter::Util::Call IPC::SysV MIME::Base64 Math::BigInt::FastCalc List::Util Socket Sys::Syslog Time::Piece Unicode::Collate Data::Dumper Devel::PPPort IO Cwd Storable Time::HiRes Unicode::Normalize threads threads::shared > static.list
Can't find .a file for B

Did anyone had success to support Build::Modules since many projects are now using it, or am I looking for the wrong path? (It's strange no related issue raised until now, neither any topic on this in google).

@arsv
Copy link
Owner

arsv commented Oct 28, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants