Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Dale
Michael wrote:
> On Thursday, 23 November 2023 11:06:25 GMT Daniel Pielmeier wrote:
>> Am 23. November 2023 08:08:47 UTC schrieb Dale :
>>> Daniel Pielmeier wrote:
 Looks like it is related to -march=native.

 See bug https://bugs.gentoo.org/838373
>>> I'm not sure how you figured that out either.
>> 
>>
>> I pasted the error message into the search engine of my choice. I think
>> there were some results from the Gentoo forums which lead to the bug
>> report.
> Good catch.  I suspected it could have been caused by a kernel module 
> enabling 
> CRC in hardware missing, but I didn't think of a bug being the cause of it, 
> let alone caused by march=native.  It compiles and installs fine here with 
> march=native.


I think it only gets hit with this with certain CPUs.  Mine just happens
to be one of them for the 770T.  My main rig, which only has a slightly
newer CPU, is not hit by this. 

I'm just surprised that it is still not fixed somehow.  It sounds like
upstream tho not Gentoo.  Us Gentoo folks just happen to be hit by it
since we compile our own packages. 

I'm just glad to get it installed.  At least if something happens to
this main rig, I got something to use.  It's gonna be slow tho.  Half
the CPU cores, half the memory.  Beats nothing tho.  At least I can
still watch TV.  O_O

Thanks to all.  :-D 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Michael
On Thursday, 23 November 2023 11:06:25 GMT Daniel Pielmeier wrote:
> Am 23. November 2023 08:08:47 UTC schrieb Dale :
> >Daniel Pielmeier wrote:
> >> Looks like it is related to -march=native.
> >> 
> >> See bug https://bugs.gentoo.org/838373
> >
> >I'm not sure how you figured that out either.
> 
> 
> 
> I pasted the error message into the search engine of my choice. I think
> there were some results from the Gentoo forums which lead to the bug
> report.

Good catch.  I suspected it could have been caused by a kernel module enabling 
CRC in hardware missing, but I didn't think of a bug being the cause of it, 
let alone caused by march=native.  It compiles and installs fine here with 
march=native.

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Daniel Pielmeier
Am 23. November 2023 08:08:47 UTC schrieb Dale :
>Daniel Pielmeier wrote:
>> Looks like it is related to -march=native.
>>
>> See bug https://bugs.gentoo.org/838373
>>
>
>I'm not sure how you figured that out either.



I pasted the error message into the search engine of my choice. I think there 
were some results from the Gentoo forums which lead to the bug report.

-- 
Best regards
Daniel



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-23 Thread Dale
Daniel Pielmeier wrote:
> Looks like it is related to -march=native.
>
> See bug https://bugs.gentoo.org/838373
>


Nailed it.  After the post by Michael, I edited the kernel several
times.  I'm sure I ruled that thing out.  I had some crc stuff not there
but same error with or without.  I admit, I wouldn't have thought of a
kernel driver issue but the error did sort of lead that way.  Given the
CPU FLAGS is about the CPU and its instruction set, it could be a option. 

I would never have thought of the CFLAGS in make.conf.  I'm not sure how
you figured that out either.  o_O  Before trying new settings for that,
I tried newer versions of clang, llvm and their friends to see if there
was a fix that wasn't applied to older versions.  When you unmask one
thing, it snowballs a bit.  Anyway, after getting a more recent version
of clang and llvm, it still failed.  At that point, I suspected that I
had ruled out those packages.  I did some digging to find what my CFLAG
settings should be if done manually.  It took some digging tho.  Once I
set that to the manual way, it compiled successfully on the first try. 

So, my backup rig now has a web browser.  That's good.  ;-)  I wonder
why that bug report wasn't in the search results when I was digging for
the error???  If I see something Gentoo related, I always look. 

While at it.  I don't think there is a way but I may have missed it.  As
a example, when I wanted to unmask/keyword specific versions of llvm and
clang, is there a tool to find out what all else has to also be
unmasked/keyworded?  When I tried to do that for the packages I wanted,
I ended up running emerge to find more that had to be added to the
list.  This is the list I ended up with. 


sys-devel/clang
sys-devel/llvm
sys-devel/clang-common
sys-devel/clang-runtime
sys-devel/clang-toolchain-symlinks
sys-libs/compiler-rt
sys-libs/compiler-rt-sanitizers
sys-libs/libomp
sys-devel/llvm-toolchain-symlinks
sys-devel/llvmgold



It would be nice if there is a way to just run a command once and it
spits out a friendly list that can be added to the proper file.  Save
annoying some electrons and all.  ;-) 

Thanks much to you both.  I hope if someone else runs into this, this
thread pops up in the search results.  Save someone some head scratching. 

Dale

:-)  :-) 

P. S.  Switched computer case door to left side hinge the other day. 
Put in the drive trays and figuring out if there is a way to put drives
in other places and still have lots of fans.  :-D 



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-22 Thread Daniel Pielmeier

Looks like it is related to -march=native.

See bug https://bugs.gentoo.org/838373

--
Regards
Daniel




Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-22 Thread Dale
Michael wrote:
> On Wednesday, 22 November 2023 02:27:01 GMT Dale wrote:
>> Howdy,
>>
>> I decided to set up the 770T as a backup system.  I'm installing the
>> basics that I would need to get started. The water heater set back my
>> new build a bit.  Anyway, Firefox fails to build with something about a
>> missing crc32.  I found a package with that name and installed it,
>> thought maybe the ebuild was missing a depend or something, still
>> fails.
> You are probably missing a number of CRC modules in your kernel, rather than 
> the Google library which you emerged.

I figured that package I emerged was a long shot.  I went into the
kernel config and enabled everything crc32 I could find.  It still
fails.  I changed one, since it has 4 options but can only enable one at
a time, and am trying again.  I don't know if this is going to work or
not.  It's chewing on it.  It's cool here so the heat helps a little.  lol 

Does anyone know exactly what kernel driver it wants?  Also, when it
runs its pre-emerge checks, why doesn't it see that it is missing and
fail with the info on what is missing?  Why wait until it fails, about
90% of the way through the compile process, and then spit out a error
that isn't really helpful  This a bug maybe??? 

Jeepers.  ;-) 

Dale

:-)  :-) 



Re: [gentoo-user] Firefox fails to compile. crc32 error??

2023-11-22 Thread Michael
On Wednesday, 22 November 2023 02:27:01 GMT Dale wrote:
> Howdy,
> 
> I decided to set up the 770T as a backup system.  I'm installing the
> basics that I would need to get started. The water heater set back my
> new build a bit.  Anyway, Firefox fails to build with something about a
> missing crc32.  I found a package with that name and installed it,
> thought maybe the ebuild was missing a depend or something, still
> fails.

You are probably missing a number of CRC modules in your kernel, rather than 
the Google library which you emerged.

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Firefox fails to compile. crc32 error??

2023-11-21 Thread Dale
Howdy,

I decided to set up the 770T as a backup system.  I'm installing the
basics that I would need to get started. The water heater set back my
new build a bit.  Anyway, Firefox fails to build with something about a
missing crc32.  I found a package with that name and installed it,
thought maybe the ebuild was missing a depend or something, still
fails.  I'm starting the copy a little above the first error and going
down a bit as well.  I looked for 'error 1' basically and got some of
both sides.  To make it easier to find, it's in that area where the
lines are a bit shorter and time stamps are closer together.  Here it is. 



53:22.51 gfx/skia/SkOpts_skx.o
53:22.51 /usr/lib/llvm/16/bin/x86_64-pc-linux-gnu-clang++-16 -o
SkOpts_hsw.o -c 
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/dist/stl_wrappers
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/dist/system_wrappers
-include
/var/tmp/portage/www-client/firefox-119.0.1/work/firefox-119.0.1/config/gcc_hidden.h
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DMOZ_SKIA
-DSKIA_IMPLEMENTATION=1 -DSK_PDF_USE_HARFBUZZ_SUBSETTING=1
-DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL
-DSTATIC_EXPORTABLE_JS_API
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox-119.0.1/gfx/skia
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/gfx/skia
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox-119.0.1/gfx/skia/skia
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox-119.0.1/gfx/cairo/cairo/src
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/dist/include
-I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/dist/include/nss
-I/usr/include/pixman-1 -DMOZILLA_CLIENT -include
/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/mozilla-config.h
-fno-sized-deallocation -fno-aligned-new -march=native -pipe
-fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections
-fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer
-funwind-tables -Wall -Wbitfield-enum-conversion
-Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion
-Wignored-qualifiers -Wpointer-arith
-Wshadow-field-in-constructor-modified -Wsign-compare
-Wtautological-constant-in-range-compare -Wtype-limits
-Wno-error=tautological-type-limit-compare -Wunreachable-code
-Wunreachable-code-return -Wunused-but-set-parameter
-Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt
-Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis
-Wno-range-loop-analysis -Wc++2a-compat -Wenum-compare-conditional
-Wenum-float-conversion -Wno-error=deprecated
-Wno-error=deprecated-anon-enum-enum-conversion
-Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-pragma
-Wno-error=deprecated-this-capture -Wcomma -Wimplicit-fallthrough
-Wstring-conversion -Wno-inline-new-delete
-Wno-error=deprecated-declarations -Wno-error=array-bounds
-Wno-error=free-nonheap-object -Wno-error=atomic-alignment
-Wno-error=deprecated-builtins -Wformat -Wformat-security -Wno-psabi
-Wthread-safety -Wno-error=builtin-macro-redefined
-Wno-unknown-warning-option -Wno-deprecated-declarations
-Wno-overloaded-virtual -Wno-sign-compare -Wno-unreachable-code
-Wno-unused-function -Wno-implicit-fallthrough
-Wno-inconsistent-missing-override -Wno-macro-redefined
-Wno-unused-private-field -I/usr/include/harfbuzz
-I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/freetype2 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/lib64/libffi/include -I/usr/include/harfbuzz
-I/usr/include/freetype2 -pthread -I/usr/include/libmount
-I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo
-I/usr/include/libpng16 -I/usr/include/pixman-1 -fno-strict-aliasing
-ffp-contract=off  -MD -MP -MF .deps/SkOpts_hsw.o.pp 
-fcolor-diagnostics -O3 -Dskvx=skvx_hsw -mavx2 -mf16c -mfma
/var/tmp/portage/www-client/firefox-119.0.1/work/firefox-119.0.1/gfx/skia/skia/src/opts/SkOpts_hsw.cpp
53:23.52 gfx/angle/targets/translator/glslang_tab_autogen.o
53:23.52 /usr/lib/llvm/16/bin/x86_64-pc-linux-gnu-clang++-16 -o
glslang_lex_autogen.o -c 
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/dist/stl_wrappers
-I/var/tmp/portage/www-client/firefox-119.0.1/work/firefox_build/dist/system_wrappers
-include
/var/tmp/portage/www-client/firefox-119.0.1/work/firefox-119.0.1/config/gcc_hidden.h
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong
-fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DANGLE_PLATFORM_EXPORT=
-D__NDK_FPABI__= -DANGLE_SKIP_DXGI_1_2_CHECK -DANGLE_ENABLE_KEYEDMUTEX
-DANGLE_TRANSLATOR_ESSL_ONLY -DANGLE_DISABLE_POOL_ALLOC
-DANGLE_ENABLE_APPLE_WORKAROUNDS -DANGLE_ENABLE_ESSL -DANGLE_ENABLE_GLSL
-DANGLE_ENABLE_HLSL -DANGLE_ENABLE_SHARE_CONTEXT_LOCK=1
-DANGLE_VMA_VERSION=2003000