Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718648 - net-misc/zerotier-1.4.6 : clang-10: error: invalid integral value 32:25:16 in -falign-functions=32:25:16
Summary: net-misc/zerotier-1.4.6 : clang-10: error: invalid integral value 32:25:16 in...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alfred Wingate
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: colon-in-CFLAGS
  Show dependency tree
 
Reported: 2020-04-20 16:18 UTC by Toralf Förster
Modified: 2023-12-03 17:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.61 KB, text/plain)
2020-04-20 16:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,173.78 KB, text/plain)
2020-04-20 16:18 UTC, Toralf Förster
Details
environment (environment,77.05 KB, text/plain)
2020-04-20 16:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.77 KB, application/x-bzip)
2020-04-20 16:18 UTC, Toralf Förster
Details
net-misc:zerotier-1.4.6:20200420-140801.log (net-misc:zerotier-1.4.6:20200420-140801.log,2.32 KB, text/plain)
2020-04-20 16:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.25 KB, application/x-bzip)
2020-04-20 16:18 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-20 16:18:11 UTC
make -j1 CXX=x86_64-pc-linux-gnu-clang++ STRIP=: one 
x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wformat -Werror=format-security -Wall -Wno-deprecated -std=c++11 -pthread  -DNDEBUG -DZT_USE_MINIUPNPC -DZT_USE_SYSTEM_MINIUPNPC -DZT_USE_SYSTEM_NATPMP -DZT_BUILD_PLATFORM=1 -DZT_BUILD_ARCHITECTURE=2 -DZT_SOFTWARE_UPDATE_DEFAULT=\disable\ -D_MT_ALLOCATOR_H -D_POOL_ALLOCATOR_H -D_EXTPTR_ALLOCATOR_H -D_DEBUG_ALLOCATOR_H -DZT_USE_X64_ASM_SALSA2012 -DZT_USE_FAST_X64_ED25519   -c -o node/C25519.o node/C25519.cpp
clang-10: error: invalid integral value 32:25:16 in -falign-functions=32:25:16
make: *** [<builtin>: node/C25519.o] Error 1
 * ERROR: net-misc/zerotier-1.4.6::gentoo failed (compile phase):
 *   emake failed

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20200415-101250

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 20 Apr 2020 12:39:26 PM UTC

emerge -qpvO net-misc/zerotier
[ebuild  N    ] net-misc/zerotier-1.4.6  USE="clang (-neon)"
Comment 1 Toralf Förster gentoo-dev 2020-04-20 16:18:14 UTC
Created attachment 633920 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-20 16:18:16 UTC
Created attachment 633922 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-20 16:18:19 UTC
Created attachment 633924 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-20 16:18:22 UTC
Created attachment 633926 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-20 16:18:25 UTC
Created attachment 633928 [details]
net-misc:zerotier-1.4.6:20200420-140801.log
Comment 6 Toralf Förster gentoo-dev 2020-04-20 16:18:28 UTC
Created attachment 633930 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2022-09-09 09:15:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55bcc464de70b4b6b695e292592dd47b6175d4ac

commit 55bcc464de70b4b6b695e292592dd47b6175d4ac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-09 09:07:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-09 09:07:25 +0000

    net-misc/zerotier: add 1.10.1
    
    Closes: https://bugs.gentoo.org/856013
    Closes: https://bugs.gentoo.org/786669
    Bug: https://bugs.gentoo.org/718648
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/zerotier/Manifest                         |  1 +
 .../files/zerotier-1.10.1-add-armv7a-support.patch | 14 +++++
 .../files/zerotier-1.10.1-respect-ldflags.patch    | 11 ++++
 net-misc/zerotier/zerotier-1.10.1.ebuild           | 67 ++++++++++++++++++++++
 4 files changed, 93 insertions(+)
Comment 8 Alfred Wingate 2023-12-03 17:19:02 UTC
This error happened due to zerotier at the time having clang as a use flag. It then failed because clang doesn't support it.

Zerotier versions in tree don't clang as a use flag anymore so this isn't relevant anymore.