trouble compiling udev
Hi guys,
a fresh rebuild failed in compiling udev.
Any clues?
Thanks!
Jaap
ERROR: function do_compile failed
ERROR: log data follows (/OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/udev-151-r17/temp/log.do_compile.15484)
| NOTE: make -j 5 | mkdir -p extras/keymap | GEN extras/keymap/keys.txt | GEN extras/keymap/keys-from-name.gperf | GEN extras/keymap/keys-to-name.h | GEN extras/keymap/keys-from-name.h | make --no-print-directory all-recursive | Making all in . | CC libudev/libudev-ctrl.lo | CC libudev/libudev-util-private.lo | CC libudev/libudev-device-private.lo | CC libudev/libudev-queue-private.lo | CC libudev/libudev.lo | CC libudev/libudev-list.lo | CC libudev/libudev-util.lo | CC libudev/libudev-device.lo | CC libudev/libudev-enumerate.lo | CC libudev/libudev-monitor.lo | CC libudev/libudev-queue.lo | CC extras/gudev/extras_gudev_libgudev_1_0_la-gudevclient.lo | libudev/libudev-queue.c: In function 'udev_queue_skip_devpath': | libudev/libudev-queue.c:185:1: internal compiler error: in cond_exec_process_insns, at ifcvt.c:273 | Please submit a full bug report, | with preprocessed source if appropriate. | See <http://gcc.gnu.org/bugs.html> for instructions. | make[2]: *** [libudev/libudev-queue.lo] Error 1 | make[2]: *** Waiting for unfinished jobs.... | make[1]: *** [all-recursive] Error 1 | make: *** [all] Error 2 | FATAL: oe_runmake failed
NOTE: Task failed: /OpenEmbedded/unstable/tmp/work/armv5te-angstrom-linux-gnueabi/udev-151-r17/temp/log.do_compile.15484
ERROR: TaskFailed event exception, aborting
ERROR: Build of /OpenEmbedded/unstable/org.openembedded.dev/recipes/udev/udev_151.bb do_compile failed
ERROR: Task 993 (/OpenEmbedded/unstable/org.openembedded.dev/recipes/udev/udev_151.bb, do_compile) failed
NOTE: Waiting for 2 active tasks to finish
NOTE: 1: /OpenEmbedded/unstable/org.openembedded.dev/recipes/pam/libpam_1.1.1.bb, do_configure (8274)
NOTE: 2: /OpenEmbedded/unstable/org.openembedded.dev/recipes/gnutls/gnutls_2.10.1.bb, do_configure (28171)
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /OpenEmbedded/unstable/org.openembedded.dev/recipes/gnutls/gnutls_2.10.1.bb, do_configure (28171)
NOTE: Tasks Summary: Attempted 1435 tasks of which 328 didn't need to be rerun and 1 failed.
ERROR: '/OpenEmbedded/unstable/org.openembedded.dev/recipes/udev/udev_151.bb' failed
Hi,
Quoted 2 lines · Jaap de Jong
a fresh rebuild failed in compiling udev.
Any clues?
if you are using gcc 4.5 => add CFLAGS_append = " -Os"
to udev recipe.
Eric
Thanks!
That seems to work!!
Something to be added to udev recipe...
Quoted 15 lines · Eric Bénard
Hi,
Quoted 2 lines · Jaap de Jong
a fresh rebuild failed in compiling udev.
Any clues?if you are using gcc 4.5 => add
CFLAGS_append= " -Os"
to udev recipe.Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 3 lines · Jaap de Jong
Thanks!
That seems to work!!
Something to be added to udev recipe...
Any chance you can post your recipe I am not sure if I am getting where you added that in the recipe. Thanks
Quoted 25 lines · Eric Bénard
Quoted 11 lines
Hi,
Quoted 3 lines · Jaap de Jong
a fresh rebuild failed in compiling udev.
Any clues?if you are using gcc 4.5 => add
CFLAGS_append= " -Os" to udev recipe.Quoted 6 lines
Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 8 lines · J. L.
Quoted 3 lines · Jaap de Jong
Thanks!
That seems to work!!
Something to be added to udev recipe...Any chance you can post your recipe I am not sure if I am getting where you added that in the recipe. Thanks
CFLAGS_append = " -Os"
Eric
Quoted 5 lines · Eric Bénard
Quoted 4 lines · J. L.
Quoted 1 line · Jaap de Jong
Quoted 9 lines
Quoted 7 lines
Quoted 3 lines
Thanks!
That seems to work!!
Something to be added to udev recipe...Any chance you can post your recipe I am not sure if I am getting where you added that in the recipe. Thanks
CFLAGS_append= " -Os"
Hi Eric
Now gcc 4.5 is default so people will hit it often. Can you commit this workaround
for time being while gcc is being fixed to cure it with reference to upstream bug
You have my ack for this :)
Thanks
-Khem
Quoted 7 lines
Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 35 lines · Khem Raj
Quoted 5 lines · Eric Bénard
Quoted 4 lines · J. L.
Quoted 1 line · Jaap de Jong
Quoted 9 lines
Quoted 7 lines
Quoted 3 lines
Thanks!
That seems to work!!
Something to be added to udev recipe...Any chance you can post your recipe I am not sure if I am getting where you added that in the recipe. Thanks
CFLAGS_append= " -Os"Hi Eric
Now gcc 4.5 is default so people will hit it often. Can you commit this workaround
for time being while gcc is being fixed to cure it with reference to upstream bug
You have my ack for this :)Thanks
-KhemQuoted 7 lines
Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
udev151 builds for me without this fix and I am building with gcc 4.5.. Just thought I would let you know
Quoted 3 lines · J. L.
udev151 builds for me without this fix and I am building with gcc 4.5.. Just thought I would let you know
which machine / arch / distro are you building for ?
Eric
Quoted 5 lines · Eric Bénard
Quoted 4 lines · J. L.
udev151 builds for me without this fix and I am building with gcc 4.5.. Just thought I would let you know
Quoted 9 lines
which machine / arch / distro are you building for ?
Eric
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
gumstix overo angstrom 2010.x gcc 4.5
The only reason I was asking about clarification to the fix you mentioned was I was trying to see if it fixed a different package that broke for me.
Quoted 10 lines · J. L.
Quoted 9 lines · Eric Bénard
Quoted 4 lines · J. L.
udev151 builds for me without this fix and I am building with gcc 4.5.. Just thought I would let you know
which machine / arch / distro are you building for ?
Eric
Quoted 7 lines
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develgumstix overo angstrom 2010.x gcc 4.5
and how old is your OE snapshot.
-k
Quoted 19 lines · Khem Raj
Quoted 10 lines · J. L.
Quoted 9 lines · Eric Bénard
Quoted 4 lines · J. L.
udev151 builds for me without this fix and I am building with gcc 4.5.. Just thought I would let you know
which machine / arch / distro are you building for ?
Eric
Quoted 7 lines
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develgumstix overo angstrom 2010.x gcc 4.5
Quoted 9 lines
and how old is your OE snapshot.
-k
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Just did a pull right now and tried a rebuild and still is working for me
Quoted 24 lines · J. L.
Quoted 23 lines · Khem Raj
Quoted 10 lines · J. L.
Quoted 9 lines · Eric Bénard
Quoted 4 lines · J. L.
udev151 builds for me without this fix and I am building with gcc 4.5.. Just thought I would let you know
which machine / arch / distro are you building for ?
Eric
Quoted 7 lines
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develgumstix overo angstrom 2010.x gcc 4.5
and how old is your OE snapshot.
-k
Quoted 7 lines
Quoted 5 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develJust did a pull right now and tried a rebuild and still is working for me
what distro ?
We use -Os by default for many distros where it will work. but try using -O2 and see if it still works or not.
Quoted 6 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 4 lines · Khem Raj
Now gcc 4.5 is default so people will hit it often. Can you commit this workaround
for time being while gcc is being fixed to cure it with reference to upstream bug
Hi,
Just a FYI:
I ran into this bug while compiling udev. Regrettably the quick fix of CFLAGS_append caused my udev to choke on the configure step. Instead, I applied the bugfix from here
https://code.launchpad.net/~cltang/gcc-linaro/fix-lp-653316 to gcc-cross-4.5. This was for a armv5te target build.
Udev appears to build nicely now :).
-Ash