[gentoo-user] Re: pgo not selected for firefox 18
On 2013-01-12, Alecks Gates wrote: > On Fri, Jan 11, 2013 at 8:24 AM, Florian Philipp > wrote: >> Am 11.01.2013 13:00, schrieb Adam Carter: >>> >>> I had noticed it a while ago, it appears to be hardmasked: >>> >>> >>> # Jory A. Pratt mailto:anar...@gentoo.org>> (15 >>> Dec 2012) >>> # PGO is known to be busted with most configurations >>> www-client/firefox pgo >>> >>> I never had a single problem with it, so I'm going to unmask it and >>> see if anything breaks. >>> >>> >>> I just commented that out in /usr/portage/profiles/base/package.use.mask >>> and it compiled fine with pgo and lto using 4.7.2. Ricey... >> >> >> I guess you didn't have problems because you haven't used stable GCC. >> pgo was broken in gcc-4.5 since firefox-16 >> >> See https://bugs.gentoo.org/show_bug.cgi?id=439244 >> >> Regards, >> Florian Philipp >> > > For what it's with, it's working here with gcc-4.6 and firefox-18: > [ebuild R] sys-devel/gcc-4.6.3:4.6 USE="cxx fortran graphite > gtk mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build > -doc (-fixed-point) -gcj -go (-hardened) (-libssp) -multislot -nopie > -nossp -objc -objc++ -objc-gc {-test} -vanilla" 20 kB What is the output of "gcc-config -l" ? That's what matters when checking the version of gcc in use. > [ebuild R] www-client/firefox-18.0::mozilla USE="alsa > custom-cflags custom-optimization dbus gstreamer jit libnotify pgo > startup-notification system-sqlite -bindist -debug -minimal (-selinux) > -wifi" LINGUAS="-af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca > -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX > -et -eu -fa -ff -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr > -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lij -lt -lv -mai > -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm > -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi > -zh_CN -zh_TW -zu" 0 kB -- Nuno Silva (aka njsg) http://njsg.sdf-eu.org/
Re: [gentoo-user] udev-197 moves from /usr/lib to /lib
On 01/11/2013 03:04:01 PM, walt wrote: This seems to me like very happy news indeed, but I'm interested in contrary opinions. There's a recent thread discussing how udev-197 breaks lvm2, but that's a trivial fix once you know about it. The problem is caused because many apps including lvm2 install their udev config scripts in /usr/lib/udev/rules.d/ (where they never belonged in the first place IMO) and they should instead now go in /lib/udev/rules.d/. All you need to do is to re-emerge all of those packages *after* installing udev-197 and the config scripts will go in the correct place. You should do this before rebooting the machine because lvm2 won't work until its udev scripts are in the correct directory. Doesn't this seem to fix the problem with booting a separate /usr partition? Hi, does anybody know if files in /etc/udev/rules.d like 10-local.rules have to be moved to a different place? Many thanks, Helmut.
[gentoo-user] Can't build gcc-4.6.3 on old Pentium III
Not sure why it fails, or how to progress from here: ... checking how to run the C preprocessor... /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686- pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686- pc-linux-gnu/sys-include-E checking whether decimal floating point is supported... yes checking whether fixed-point is supported... no checking whether assembler supports CFI directives... yes checking for __attribute__((visibility("hidden")))... yes checking whether the target assembler supports thread-local storage... yes checking whether the thread-local storage support is from emutls... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: executing default commands make[3]: Entering directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/i686-pc-linux-gnu/libgcc' # If this is the top-level multilib, build all the other /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686- pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include-g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS # multilibs. /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686- pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include-g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _negdi2.o -MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686- pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include-g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc
Re: [gentoo-user] Questions about systemd logging
On Friday 11 January 2013, Canek Peláez Valdés wrote: > On Thu, Jan 10, 2013 at 10:46 AM, Robin Atwood > > wrote: > > On Thursday 10 January 2013, Canek Peláez Valdés wrote: > >> On Wed, Jan 9, 2013 at 5:12 AM, Robin Atwood > >> > >> > >> wrote: > > Stupid question, the syslog-ng.service is running correctly? What does > the following command say: > > systemctl status syslog-ng.service Syslog-ng is running fine, I get all my normal logging, just none from systemd. If I can get I don't have to mess around with journalctl. -Robin -- -- Robin Atwood. "Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst" from "Mandalay" by Rudyard Kipling --
Re: [Bulk] Re: [gentoo-user] Questions about systemd logging
On Friday 11 January 2013, Kevin Chadwick wrote: > On Thu, 10 Jan 2013 23:46:29 +0700 > > Robin Atwood wrote: > > Thanks for the tips, now I can get more output to tty1 if I want. I > > still can't get any systemd messages to syslog-ng, however. A bit of > > a mystery. > > This may be way off as I expect systemd to never shape up to a point > that I will use it, but with a bit of luck this may point you in the > right direction. On Arch systemd avoiders had to change their > syslog-ng.conf to the following to get their logging back. > > source src { > unix-dgram("/dev/log"); > internal(); > file("/proc/kmsg"); > }; I already have that! It's the systemd source that seems to have run dry. Cheers -Robin -- -- Robin Atwood. "Ship me somewheres east of Suez, where the best is like the worst, Where there ain't no Ten Commandments an' a man can raise a thirst" from "Mandalay" by Rudyard Kipling --
Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
On 01/12/2013 03:24:47 PM, Mick wrote: Not sure why it fails, or how to progress from here: ... checking how to run the C preprocessor... /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686- pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686- pc-linux-gnu/sys-include-E checking whether decimal floating point is supported... yes checking whether fixed-point is supported... no checking whether assembler supports CFI directives... yes checking for __attribute__((visibility("hidden")))... yes checking whether the target assembler supports thread-local storage... yes checking whether the thread-local storage support is from emutls... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: executing default commands make[3]: Entering directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/i686-pc-linux-gnu/libgcc' # If this is the top-level multilib, build all the other /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686- pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS # multilibs. /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686- pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6 .3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _negdi2.o -MT _negdi2.o -MD -MP -MF _negdi2.dep -DL_negdi2 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/libgcc2.c \ -fvisibility=hidden -DHIDE_EXPORTS /mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/ - B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686- pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -O2 - march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold- style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT - DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. - I../.././gcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/. -I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../include - I/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/config/libbid - DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o _lshrdi3.o -MT _lshrdi3.o -MD -MP -MF _lshrdi3.dep -DL_lshrdi3 -c /mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/gcc-4.6.3/libgcc/../gcc/li
Re: [gentoo-user] Questions about systemd logging
On Sat, Jan 12, 2013 at 8:31 AM, Robin Atwood wrote: > On Friday 11 January 2013, Canek Peláez Valdés wrote: > >> On Thu, Jan 10, 2013 at 10:46 AM, Robin Atwood > >> > >> wrote: > >> > On Thursday 10 January 2013, Canek Peláez Valdés wrote: > >> >> On Wed, Jan 9, 2013 at 5:12 AM, Robin Atwood > >> >> > >> >> > >> >> wrote: > >> > >> Stupid question, the syslog-ng.service is running correctly? What does > >> the following command say: > >> > >> systemctl status syslog-ng.service > > > > Syslog-ng is running fine, I get all my normal logging, just none from > systemd. If I can get I don't have to mess around with journalctl. What is the value of LogTarget in your /etc/systemd/system.conf? Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Re: Gigabyte wont boot
On 2013-01-11 22:28, James wrote: > Newegg said it was new Ok. What I was trying to say was that I've had a motherboard shipped as new to me but when it arrived I noticed it was used. > Ram is as spec'd: G.skill Ares F-1866C10D-16BAB. 4 modules all > slots full summing to 32G. Try one module at a time... > I think the mobo is BORKED Maybe... > I've got the parts to build 3 systems, so I'll move on to the > second one. Get it to work and verify the compoents, one system > at a time. If all else fails, it's the mobo or the CPU. Which of > the 2 will be hard to pinpoint without a hassle. Good luck! Best regards Peter K
Re: [gentoo-user] Re: pgo not selected for firefox 18
On Sat, Jan 12, 2013 at 3:22 AM, Nuno J. Silva wrote: > On 2013-01-12, Alecks Gates wrote: > >> On Fri, Jan 11, 2013 at 8:24 AM, Florian Philipp >> wrote: >>> Am 11.01.2013 13:00, schrieb Adam Carter: I had noticed it a while ago, it appears to be hardmasked: # Jory A. Pratt mailto:anar...@gentoo.org>> (15 Dec 2012) # PGO is known to be busted with most configurations www-client/firefox pgo I never had a single problem with it, so I'm going to unmask it and see if anything breaks. I just commented that out in /usr/portage/profiles/base/package.use.mask and it compiled fine with pgo and lto using 4.7.2. Ricey... >>> >>> >>> I guess you didn't have problems because you haven't used stable GCC. >>> pgo was broken in gcc-4.5 since firefox-16 >>> >>> See https://bugs.gentoo.org/show_bug.cgi?id=439244 >>> >>> Regards, >>> Florian Philipp >>> >> >> For what it's with, it's working here with gcc-4.6 and firefox-18: >> [ebuild R] sys-devel/gcc-4.6.3:4.6 USE="cxx fortran graphite >> gtk mudflap (multilib) nls nptl openmp (-altivec) -bootstrap -build >> -doc (-fixed-point) -gcj -go (-hardened) (-libssp) -multislot -nopie >> -nossp -objc -objc++ -objc-gc {-test} -vanilla" 20 kB > > What is the output of "gcc-config -l" ? That's what matters when > checking the version of gcc in use. > >> [ebuild R] www-client/firefox-18.0::mozilla USE="alsa >> custom-cflags custom-optimization dbus gstreamer jit libnotify pgo >> startup-notification system-sqlite -bindist -debug -minimal (-selinux) >> -wifi" LINGUAS="-af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca >> -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL -es_ES -es_MX >> -et -eu -fa -ff -fi -fr -fy_NL -ga_IE -gd -gl -gu_IN -he -hi_IN -hr >> -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lij -lt -lv -mai >> -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm >> -ro -ru -si -sk -sl -son -sq -sr -sv_SE -ta -ta_LK -te -th -tr -uk -vi >> -zh_CN -zh_TW -zu" 0 kB > > -- > Nuno Silva (aka njsg) > http://njsg.sdf-eu.org/ > > $ gcc-config -l [1] x86_64-pc-linux-gnu-4.6.3 *
Re: [gentoo-user] udev-197 moves from /usr/lib to /lib
On Sat, Jan 12, 2013 at 5:00 AM, Helmut Jarausch wrote: > On 01/11/2013 03:04:01 PM, walt wrote: >> >> This seems to me like very happy news indeed, but I'm interested in >> contrary >> opinions. There's a recent thread discussing how udev-197 breaks lvm2, >> but >> that's a trivial fix once you know about it. >> >> The problem is caused because many apps including lvm2 install their udev >> config scripts in /usr/lib/udev/rules.d/ (where they never belonged in the >> first place IMO) and they should instead now go in /lib/udev/rules.d/. >> All you need to do is to re-emerge all of those packages *after* >> installing >> udev-197 and the config scripts will go in the correct place. >> >> You should do this before rebooting the machine because lvm2 won't work >> until >> its udev scripts are in the correct directory. >> >> Doesn't this seem to fix the problem with booting a separate /usr >> partition? > > > Hi, does anybody know if files in /etc/udev/rules.d like 10-local.rules > have to be moved to a different place? No; check src/udev/udev-rules.c, udev_rules_new(), which starts at 1578: rules->dirs = strv_new("/etc/udev/rules.d", "/run/udev/rules.d", "/usr/lib/rules.d", "/lib/rules.d", UDEVLIBEXECDIR "/rules.d", NULL); /etc/udev/rules.d has always been the first dir scanned for rules (which means the rules in /etc will override any other rule), and as far as I know nobody has ever suggested to move or change that. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México
Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
On 12/01/13 23:11, Helmut Jarausch wrote: > On 01/12/2013 03:24:47 PM, Mick wrote: >> Not sure why it fails, or how to progress from here: >> >> ... >> checking how to run the C preprocessor... >> /mnt/video/tmp_portage/portage/sys- >> devel/gcc-4.6.3/work/build/./gcc/xgcc >> -B/mnt/video/tmp_portage/portage/sys- ... >> Any ideas? >> -- >> Regards, >> Mick >> > > I can't see any error. I get those spurious failures if I use emerge > -j4 (i.e. multiple emerges in parallel) > > Furthermore make sure you the following libraries installed > dev-libs/mpc dev-libs/mpfr and dev-libs/gmp > > Try rebuild it with emerge -j1 and maybe MAKEOPTS=-j1 > Helmut. > Do you have enough ram/swap? BillK
Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
William Kenworthy wrote: > On 12/01/13 23:11, Helmut Jarausch wrote: >> On 01/12/2013 03:24:47 PM, Mick wrote: >>> Not sure why it fails, or how to progress from here: >>> >>> ... >>> checking how to run the C preprocessor... >>> /mnt/video/tmp_portage/portage/sys- >>> devel/gcc-4.6.3/work/build/./gcc/xgcc >>> -B/mnt/video/tmp_portage/portage/sys- > ... >>> Any ideas? >>> -- >>> Regards, >>> Mick >>> >> I can't see any error. I get those spurious failures if I use emerge >> -j4 (i.e. multiple emerges in parallel) >> >> Furthermore make sure you the following libraries installed >> dev-libs/mpc dev-libs/mpfr and dev-libs/gmp >> >> Try rebuild it with emerge -j1 and maybe MAKEOPTS=-j1 >> Helmut. >> > Do you have enough ram/swap? > > BillK > > > > While at it, make sure whatever portages work directory is on didn't run out of space too. It causes some weird things and the error is not always obvious. Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Can't build gcc-4.6.3 on old Pentium III
On Saturday 12 Jan 2013 23:26:36 Dale wrote: > William Kenworthy wrote: > > On 12/01/13 23:11, Helmut Jarausch wrote: > >> On 01/12/2013 03:24:47 PM, Mick wrote: > >>> Not sure why it fails, or how to progress from here: > >>> > >>> ... > >>> checking how to run the C preprocessor... > >>> /mnt/video/tmp_portage/portage/sys- > >>> devel/gcc-4.6.3/work/build/./gcc/xgcc > >>> -B/mnt/video/tmp_portage/portage/sys- > > > > ... > > > >>> Any ideas? > >> > >> I can't see any error. I get those spurious failures if I use emerge > >> -j4 (i.e. multiple emerges in parallel) > >> > >> Furthermore make sure you the following libraries installed > >> dev-libs/mpc dev-libs/mpfr and dev-libs/gmp > >> > >> Try rebuild it with emerge -j1 and maybe MAKEOPTS=-j1 > >> Helmut. > > > > Do you have enough ram/swap? > > > > BillK > > While at it, make sure whatever portages work directory is on didn't run > out of space too. It causes some weird things and the error is not > always obvious. > > Dale > > :-) :-) Thank you all for your replies. I have c. 650M RAM and 1G swap. I did not have a problem emerging gcc until this version. How can I know if it runs out of memory, unless I continuously keep an eye on memory counts - is there a cleverer way to know this? I tried emerging it with MAKEOPTS="-j1" and it failed again, but with a different error: == make[5]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build/i686-pc-linux-gnu/libgomp' make[4]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build/i686-pc-linux-gnu/libgomp' make[3]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build/i686-pc-linux-gnu/libgomp' make[2]: Leaving directory `/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/w ork/build' make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH" "TARGET_SUBDIR=i686-pc-linux- gnu" "bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.6.3" "datadir=/usr/share/gcc- data/i686 -pc-linux-gnu/4.6.3" "exec_prefix=/usr" "includedir=/usr/lib/gcc/i686-pc- linux-g nu/4.6.3/include" "datarootdir=/usr/share" "docdir=/usr/share/doc/" "infodir=/us r/share/gcc-data/i686-pc-linux-gnu/4.6.3/info" "pdfdir=/usr/share/doc/" "htmldir =/usr/share/doc/" "libdir=/usr/lib" "libexecdir=/usr/libexec" "lispdir=" "locals tatedir=/usr/var" "mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3/man" "oldi ncludedir=/usr/include" "prefix=/usr" "sbindir=/usr/sbin" "sharedstatedir=/usr/c om" "sysconfdir=/usr/etc" "tooldir=/usr/i686-pc-linux-gnu" "build_tooldir=/usr/i 686-pc-linux-gnu" "target_alias=i686-pc-linux-gnu" "AWK=gawk" "BISON=bison" "CC_ FOR_BUILD=i686-pc-linux-gnu-gcc" "CFLAGS_FOR_BUILD=-O2 -march=pentium3 -pipe" "C XX_FOR_BUILD=i686-pc-linux-gnu-g++" "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c" "INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS_FOR_BUILD=-Wl,-O1 -Wl,--as-needed" "LEX=flex" "M4=m4" "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/usr/bin/sed" "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo 'BOOT_ADAFLAGS=-gnatpg -gnata' | sed -e s'/[^=][^=]*=$/XFOO=/'`" "BOOT_CFLAGS=-O2 -march=pentium3 -pipe" "BOOT_LDFLAGS=" "CFLAGS=-O2 -march=pentium3 -pipe" "CXXFLAGS=-O2 - march=pentium3 -pipe" "LDFLAGS=-Wl,-O1 -Wl,--as-needed" "LIBCFLAGS=-O2 - march=pentium3 -pipe " "LIBCXXFLAGS=-O2 -march=pentium3 -pipe -fno-implicit- templates " "STAGE1_CHECKING=--enable-checking=release,types" "STAGE1_LANGUAGES=c,lto" "GNATBIND=no" "GNATMAKE=no" "AR_FOR_TARGET=/usr/i686- pc-linux-gnu/bin/ar" "AS_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/as" "CC_FOR_TARGET=/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/xgcc -B/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/" "CFLAGS_FOR_TARGET=-g -O2 -march=pentium3 - pipe" "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-O2 -march=pentium3 -pipe - D_GNU_SOURCE" "DLLTOOL_FOR_TARGET=dlltool" "FLAGS_FOR_TARGET=-B/usr/i686-pc- linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux- gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include" "GCJ_FOR_TARGET=" "GFORTRAN_FOR_TARGET=/mnt/video/tmp_portage/portage/sys- devel/gcc-4.6.3/work/build/./gcc/gfortran - B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/" "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g" "LD_FOR_TARGET=/usr/i686-pc- linux-gnu/bin/ld" "LIPO_FOR_TARGET=lipo" "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -march=pentium3 -pipe" "LIBCXXFLAGS_FOR_TARGET=- O2 -march=pentium3 -pipe -D_GNU_SOURCE -fno-implicit-templates" "NM_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/nm" "OBJDUMP_FOR_TARGET=/usr/i686- pc-linux-gnu/bin/objdump" "RANLIB_FOR_TARGET=/usr/i686-pc-linux- gnu/bin/ranlib" "STRIP_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/strip" "WINDRES_FOR_TARGET=windres" "WINDM
[gentoo-user] Re: Can't build gcc-4.6.3 on old Pentium III
On 01/12/2013 06:24 AM, Mick wrote: > Not sure why it fails, or how to progress from here: > march=pentium3 -pipe -O2 -g -O2 -march=pentium3 -pipe -DIN_GCC -W -Wall - > ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}"; No idea, but I would try -march=native and see what happens. .
[gentoo-user] Re: udev-197 moves from /usr/lib to /lib
On 01/12/2013 03:00 AM, Helmut Jarausch wrote: > On 01/11/2013 03:04:01 PM, walt wrote: >> >> The problem is caused because many apps including lvm2 install their udev >> config scripts in /usr/lib/udev/rules.d/ (where they never belonged in the >> first place IMO) and they should instead now go in /lib/udev/rules.d/. > Hi, does anybody know if files in /etc/udev/rules.d like 10-local.rules > have to be moved to a different place? No, they stay where they are.
[gentoo-user] Ekopath compiler failing to build - something about glibc development files
Hi all, I've got the ekopath compiler installed on my machine and Portage wants to update it, but fails. Before I go to the trouble of filling out a full bug report, does anyone have any ideas as to the problem? I think it is in the 5th line, "Configuration failed..." >>> Install ekopath-4.0.12.1_pre20121102 into /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image/ category dev-lang Problem running post-install step. Installation may not complete correctly Configuration failed. Make sure you have glibc developement files installed. Additional information: In file included from /usr/include/endian.h:61, from /usr/include/pthread.h:23, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_mutex-pthread.h:52, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_mutex.h:71, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_strref.h:41, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/string:44, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/loc/_locale.h:37, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/rw/_iosbase.h:37, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/streambuf:40, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/ostream:45, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/istream:44, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/include/4.0.12.1/stl/iostream:34, from /var/tmp/portage/dev-lang/ekopath-4.0.12.1_pre20121102/image//opt/ekopath/test.cpp:3: /usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)': /usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope /usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)': /usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope * From all of the above, I think the important part is that I need to install some "glibc developement files". A google search doesn't point me in the direction of what these might be. According to "eix glibc", I have debug turned OFF - is this the problem? Or is this for debugging glibc and not my code? I think if I can work out the development files stuff, the bswap64 problem will fix itself. Any thoughts are greatly appreciated, Andrew