Package Details: makepkg-optimize-mold 30-2

Git Clone URL: https://aur.archlinux.org/makepkg-optimize-mold.git (read-only, click to copy)
Package Base: makepkg-optimize-mold
Description: Supplemental build and packaging optimizations for makepkg
Upstream URL: https://wiki.archlinux.org/index.php/Makepkg-optimize
Keywords: makepkg-optimize makepkg-tweaks mold
Licenses: GPL-1.0-only
Submitter: ptr1337
Maintainer: ptr1337
Last Packager: ptr1337
Votes: 4
Popularity: 0.096821
First Submitted: 2021-12-31 21:48 (UTC)
Last Updated: 2024-08-24 12:42 (UTC)

Dependencies (11)

Required by (0)

Sources (26)

Latest Comments

« First ‹ Previous 1 2 3

Hakkaten commented on 2022-04-26 10:28 (UTC)

Do I need to uncomment anything in the makepkg-optimize.conf or is it good to go? I noticed there are two extra CFLAGS lines that are commented out. (I'm a total noob btw, I know enough to get around) Is this package designed with a completely vanilla makepkg.conf file in mind? I had already tweaked mine tiny bit.

blackout commented on 2022-01-14 18:25 (UTC)

@ptr1337 tested with latest mold-git, works as expected. Thank you for your effort.

ptr1337 commented on 2022-01-12 06:24 (UTC)

@blackout

Sorry for the late response. The upcomming version of mold will have a fallback, as soon something would link with lto, to lld, ld.bfd. I think the next release will be soon, if using the git, you will face into no problems.

Checksums will be updated!

blackout commented on 2022-01-10 13:46 (UTC) (edited on 2022-01-10 13:46 (UTC) by blackout)

sha1sums block is wrong should be

sha1sums=(
  '81a662d3cf3e5fdbeb3c3e5d0b78efbacc6587d7'
  '1a4f26170da04998f9cba088a63a95fd75c1113e'
  '981eab856abb43c5e093620cdf4d8bfa2d690805'
  '67801619b39ea4542829a4b715034a9f7ac7cf2c'
  '4cd8012f8946761d7288a198af7edb3ebaf0ece0'
  '3c61762a183a2f76cc2ff2e55cfffb68b6a8320c'
  'efb3ed7d7d5516259709149d7bcd6ec208c07593'
  'd7a3801037333c582dba976db27cf8896bc1b401'
  'f17b1a8ccbd807fd59fbc716cc695be32e261e38'
  '9cb1a46ca7c3c6fab8a44ca5355528e9eb9e0650'
  '77b84f9ab5ecce37af2f4dce3b94bcfe54a87b00'
  '9270b5e33d4508a959688a10c20dec3732763937'
  '2efb74a7743764205d20e0dd74fb5f948673f825'
  '4c5f0be71638a6ec2f18c01675d99f19eb6dd45d'
  '1fc8035e64b739e20c70fbb4eaa5cb7aa1c63c90'
  '5d0cde13b50641371e4ec4d813d6b2dfae493889'
  '3a356f52131e39f59d360c54a572d678c7208b42'
  '34a33b47a8b667f9dc810737c0f598660b962d4c'
  '0dbba257ec59dc55583a74da0319d6c210cf717a'
  'a893c32f2a3fff8b279025ec60f0c3d88143dc1e'
  '4def44ef53ba3b579bed40af897d6f0c038ec78d'
  )

j1simon commented on 2022-01-09 17:35 (UTC)

...
fetching devel info...
==> Making package: makepkg-optimize-mold 21-1 (Sun Jan  9 18:34:01 2022)
==> Retrieving sources...
-> Found pgo.sh.in
-> Found graphite.sh.in
-> Found rice.sh.in
-> Found mold.sh.in
-> Found upx-exec.sh.in
-> Found optipng-exec.sh.in
-> Found svgo-exec.sh.in
-> Found upx.sh.in
-> Found optipng.sh.in
-> Found svgo.sh.in
-> Found cflags.conf
-> Found cxxflags.conf
-> Found makeflags.conf
-> Found ldflags.conf
-> Found debug-makeflags.conf
-> Found cmake-flags.conf
-> Found buildenv_ext.conf
-> Found destdirs_ext.conf
-> Found pkgopts_ext.conf
-> Found pkgopts-param_ext.conf
-> Found compress-param_max.conf
==> ERROR: Integrity checks (sha1) differ in size from the source array.
error: failed to download sources for 'makepkg-optimize-mold-21-1':
error: packages failed to build: makepkg-optimize-mold-21-1

blackout commented on 2022-01-03 00:40 (UTC) (edited on 2022-01-10 13:46 (UTC) by blackout)

@ptr1337 you should add -fno-lto to moldflags in mold.sh.in as long as LTO is not implemented in mold (https://github.com/rui314/mold/issues/181) this will disable LTO. Otherwise, builds will fail having LTO enabled per default (e.g. flashrom-git)

this should be sufficient

buildenv_mold() {
  if check_buildoption "mold" "y"; then
    CFLAGS+=" -fuse-ld=mold -fno-lto"
  fi
}