Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275197 - emerge of sys-apps/hal-0.5.12_rc1-r6: stops due revoked/illegal switch -p in gperf line of /var/tmp/portage/sys-apps/hal-0.5.12_rc1-r6/work/hal-0.5.12rc1/tools/Makefile
Summary: emerge of sys-apps/hal-0.5.12_rc1-r6: stops due revoked/illegal switch -p in ...
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 13:24 UTC by Otto A. Schell
Modified: 2009-06-24 00:31 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Otto A. Schell 2009-06-23 13:24:39 UTC
In /var/tmp/portage/sys-apps/hal-0.5.12_rc1-r6/work/hal-0.5.12rc1/tools/Makefile line 1073 states
gperf -t --ignore-case -N lookup_key -H hash_input_names -p -C < $< > $@
---------------------------------------------------------^^
which expands to
gperf -t --ignore-case -N lookup_key -H hash_input_names -p -C < hal-setup-keymap-hash-name.gperf > hal-setup-keymap-hash-name.h
gperf claims
Illegal instruction



Reproducible: Always

Steps to Reproduce:
1.pinkunvisible tools # gperf --version
GNU gperf 3.0.3
2.pinkunvisible tools # gperf -h | grep -e -p                            
  -P, --pic              Optimize the generated table for inclusion in shared
  -Q, --string-pool-name=NAME
                         Specify name of string pool generated by option --pic.
  -k, --key-positions=KEYS


Actual Results:  
gperf claims
Illegal instruction



Not shure, which switch to be used instead of these "-p"
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2009-06-23 20:28:52 UTC
"Illegal instruction" means your CPU is told to execute an instruction it doesn't know about, usually because you're compiling for a more recent CPU than you're using. It doesn't mean the program is given an option that it doesn't understand. Please check the CFLAGS/CXXFLAGS in your make.conf and verify that they are correct for your processor. If they are not correct, you will need to rebuild everything on your system with proper flags. If you are sure they are correct, please include the output from emerge --info and re-open this bug.
Comment 2 Otto A. Schell 2009-06-24 00:31:39 UTC
(In reply to comment #0)
> In
> /var/tmp/portage/sys-apps/hal-0.5.12_rc1-r6/work/hal-0.5.12rc1/tools/Makefile
> line 1073 states
> gperf -t --ignore-case -N lookup_key -H hash_input_names -p -C < $< > $@
> ---------------------------------------------------------^^

> Illegal instruction
> 
> 
> 
> Not shure, which switch to be used instead of these "-p"
> 

tnxalot Sir Tnxalot,
Might be, not reproducible any more, because we started fresh install. It seems this is an issue only with pentium4M/pentiumM cpu on older laptops, when CFLAG="-march=pentium4" is set.

wbr oas