Summary: | sys-power/iasl-20100428* fails to recompile its own output | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Shelton <srcshelton> |
Component: | [OLD] Core system | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | polynomial-c |
Priority: | High | ||
Version: | 10.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Original DSDT
DSDT.dsl corrected for errors DSDT.dsl compiled then decompiled again |
Description
Stuart Shelton
2010-05-06 13:21:51 UTC
Created attachment 230595 [details]
Original DSDT
Created attachment 230597 [details]
DSDT.dsl corrected for errors
This compiles with iasl-20100428 with 0 errors, 0 warnings, 0 remarks, and 1004 optimisations.
Created attachment 230599 [details]
DSDT.dsl compiled then decompiled again
When compiled, this now fails with:
DSDT.dsl 6817: ^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^PCI0.LNK9)
DSDT.dsl 6825: ^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^PCI0.LNK9)
DSDT.dsl 6833: ^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^PCI0.LNK9)
DSDT.dsl 6841: ^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^PCI0.LNK9)
DSDT.dsl 7089: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
DSDT.dsl 7097: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
DSDT.dsl 7105: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
DSDT.dsl 7113: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
DSDT.dsl 7273: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
DSDT.dsl 7281: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
DSDT.dsl 7289: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
DSDT.dsl 7297: ^^PCI0.LNK9,
Error 4065 - ^ Object not found or not accessible from scope (^^PCI0.LNK9)
ASL Input: DSDT.dsl - 7518 lines, 236373 bytes, 2316 keywords
Compilation complete. 12 Errors, 0 Warnings, 0 Remarks, 53 Optimizations
Interestingly, changing DSDT.dsl.2 as follows: --- DSDT.dsl.2.orig 2010-05-06 14:33:08.362849657 +0100 +++ DSDT.dsl.2 2010-05-06 14:33:18.282848521 +0100 @@ -18,8 +18,7 @@ */ DefinitionBlock ("DSDT.aml", "DSDT", 1, "CX700 ", "AWRDACPI", 0x00001000) { - External (LNK9) - External (\_SB_.PCI1.PCI0.LNK9) + External (\_SB_.PCI0.LNK9) Scope (_PR) { ... allows the table to be compiled again. Decompiling *this* output shows the only change to be the reversion of the above patch. (Compilation also succeeds if the "External (LNK9)" line is left in place - but its presence of absence doesn't seem to affect the outcome) Can you include your emerge --info, so we know on what kind of system this occured? Also forwarding to maintainer. Sure thing: Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.33-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-r2-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-1.12.13 Timestamp of tree: Tue, 18 May 2010 07:15:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=amdfam10 -mfpmath=sse -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=amdfam10 -mfpmath=sse -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests collision-protect distlocks fakeroot fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms split-elog split-log splitdebug strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/enlightenment" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi ada alsa amd64 amr applet archive ares artworkextra aspell asyncns automount avahi bash-completion beagle berkdb big-tables bittorrent bluetooth bonjour branding bzip2 cairo caps cdda cddb cdio cdr cgraph chroot cli common-lisp consolekit corba cracklib crypt cscope css curl custom-optimization cxx daap dbus dc1394 deskbar device-mapper dirac djbfft djvu dmx dri drm dts dvd dvdr dvi eds emboss encode epiphany excel exif expat extraengine faac faad fam fbcon ffmpeg fftw finger firefox flac fltk fluidsynth fontconfig fontforge fortran fpx ftp fuse galago gcdmaster gd gdbm gedit gif gimp glib glitz gmp gnome gnome-keyring gnomecd gnustep gnutls gphoto2 gpm graphviz gs gsf gsm gstreamer gtk gtkhtml guile hal hardcoded-tables hddtemp hdri hfs iconv icu id3tag idea idn ieee1394 imagemagick imlib immqt-bc inotify ipod ipv6 ithreads jack jack-tmpfs java javascript jbig jpeg jpeg2k kate ladspa lapack lash latex lcms lensfun libass libcaca libedit libffi libnotify libsamplerate libssh2 libsysfs live lm_sensors lua lzma lzo mad matroska max-idx-128 md5sum midi mikmod mmap mmx mmxext mng modplug modules motif mp3 mp3rtp mp4 mpd mpeg mtp mudflap multilib musepack musicbrainz nas nautilus ncurses netjack network network-cron nfs nls nntp nptl nptlonly nsplugin nss odbc ogg opencore-amr openexr opengl openmp pam pango pch pcmcia pcre pdf perl phonon plotutils png policykit portaudio ppds pppd pth pulseaudio python q32 q8 qt3 qt3support qt4 raw readline reflection remoteosd rle rtsp samba schroedinger script sdl sdl-image session shout skins slang smp sndfile soup speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs syslog t1lib taglib tcl tcpd test theora threads threadsafe tiff timezone tk tracker truetype twolame udev unicode upnp usb v4l v4l2 vcd vcdinfo vcdx vhook vim-syntax vlm vorbis wavpack webkit wmf wxwidgets wxwindows x264 xattr xcb xcomposite xface xft xine xinerama xinetd xml xmldoclet xmp xorg xosd xpm xprint xrandr xslt xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon topfield" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse spaceorb wacom vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Did older versions work fine? Yup - all versions prior to sys-power/iasl-20100428 have worked without issus - so this is a new regression in the most recent (~x86/~amd64) version. Is this still an issue with newer version of the package? I'll check... The second attachment ("DSDT.dsl corrected for errors") now compiles for the first time with: 0 Errors, 29 Warnings, 191 Remarks, 1004 Optimizations ... but when this is then de-compiled and re-compiled, the output is instead: 12 Errors, 19 Warnings, 167 Remarks, 53 Optimizations ... so the same 12 errors seem to have been injected by sys-power/iasl-20140214 as the 2010 version - it's just picker about what generates warnings. Additionally, with the 2014 version, if I take /sys/firmware/acpi/tables/DSDT for a running system, decompile it (-d), then re-compile it (-ts) I get 25 errors - although an output hex-file is still created, so 'error' appears to be non-fatal. Admittedly, this probably says more about motherboard manufacturers' (or indeed MSFT's) ability to code and/or follow documented standards than it does about Intel's tools... can you check with sys-power/iasl-20180810? |