All of lore.kernel.org
 help / color / mirror / Atom feed
* trouble compiling udev
@ 2010-10-04  6:47 Jaap de Jong
  2010-10-04  7:14 ` Eric Bénard
  0 siblings, 1 reply; 13+ messages in thread
From: Jaap de Jong @ 2010-10-04  6:47 UTC (permalink / raw)
  To: openembedded-devel

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





^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04  6:47 trouble compiling udev Jaap de Jong
@ 2010-10-04  7:14 ` Eric Bénard
  2010-10-04  8:14   ` Jaap de Jong
  0 siblings, 1 reply; 13+ messages in thread
From: Eric Bénard @ 2010-10-04  7:14 UTC (permalink / raw)
  To: openembedded-devel

Hi,

Le 04/10/2010 08:47, Jaap de Jong a écrit :
> a fresh rebuild failed in compiling udev.
> Any clues?

if you are using gcc 4.5 => add CFLAGS_append = " -Os"
  to udev recipe.

Eric



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04  7:14 ` Eric Bénard
@ 2010-10-04  8:14   ` Jaap de Jong
  2010-10-04  8:24     ` J. L. 
  0 siblings, 1 reply; 13+ messages in thread
From: Jaap de Jong @ 2010-10-04  8:14 UTC (permalink / raw)
  To: openembedded-devel

Thanks!
That seems to work!!
Something to be added to udev recipe...

On 10/04/2010 09:14 AM, Eric Bénard wrote:
> Hi,
>
> Le 04/10/2010 08:47, Jaap de Jong a écrit :
>> 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
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04  8:14   ` Jaap de Jong
@ 2010-10-04  8:24     ` J. L. 
  2010-10-04  8:36       ` Eric Bénard
  0 siblings, 1 reply; 13+ messages in thread
From: J. L.  @ 2010-10-04  8:24 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Oct 4, 2010 at 1:14 AM, Jaap de Jong <jaap.dejong@nedap.com> wrote:
> 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

>
> On 10/04/2010 09:14 AM, Eric Bénard wrote:
>>
>> Hi,
>>
>> Le 04/10/2010 08:47, Jaap de Jong a écrit :
>>>
>>> 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
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04  8:24     ` J. L. 
@ 2010-10-04  8:36       ` Eric Bénard
  2010-10-04 18:23         ` Khem Raj
  0 siblings, 1 reply; 13+ messages in thread
From: Eric Bénard @ 2010-10-04  8:36 UTC (permalink / raw)
  To: openembedded-devel

Le 04/10/2010 10:24, J. L. a écrit :
> On Mon, Oct 4, 2010 at 1:14 AM, Jaap de Jong<jaap.dejong@nedap.com>  wrote:
>> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04  8:36       ` Eric Bénard
@ 2010-10-04 18:23         ` Khem Raj
  2010-10-04 18:34           ` J. L. 
  2010-10-20  7:04           ` Ash Charles
  0 siblings, 2 replies; 13+ messages in thread
From: Khem Raj @ 2010-10-04 18:23 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Oct 4, 2010 at 1:36 AM, Eric Bénard <eric@eukrea.com> wrote:
> Le 04/10/2010 10:24, J. L. a écrit :
>>
>> On Mon, Oct 4, 2010 at 1:14 AM, Jaap de Jong<jaap.dejong@nedap.com>
>>  wrote:
>>>
>>> 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

> Eric
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04 18:23         ` Khem Raj
@ 2010-10-04 18:34           ` J. L. 
  2010-10-04 19:24             ` Eric Bénard
  2010-10-20  7:04           ` Ash Charles
  1 sibling, 1 reply; 13+ messages in thread
From: J. L.  @ 2010-10-04 18:34 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Oct 4, 2010 at 11:23 AM, Khem Raj <raj.khem@gmail.com> wrote:
> On Mon, Oct 4, 2010 at 1:36 AM, Eric Bénard <eric@eukrea.com> wrote:
>> Le 04/10/2010 10:24, J. L. a écrit :
>>>
>>> On Mon, Oct 4, 2010 at 1:14 AM, Jaap de Jong<jaap.dejong@nedap.com>
>>>  wrote:
>>>>
>>>> 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
>
>> Eric
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04 18:34           ` J. L. 
@ 2010-10-04 19:24             ` Eric Bénard
  2010-10-04 19:29               ` J. L. 
  0 siblings, 1 reply; 13+ messages in thread
From: Eric Bénard @ 2010-10-04 19:24 UTC (permalink / raw)
  To: openembedded-devel

Le 04/10/2010 20:34, J. L. a écrit :
> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04 19:24             ` Eric Bénard
@ 2010-10-04 19:29               ` J. L. 
  2010-10-06 22:36                 ` Khem Raj
  0 siblings, 1 reply; 13+ messages in thread
From: J. L.  @ 2010-10-04 19:29 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Oct 4, 2010 at 12:24 PM, Eric Bénard <eric@eukrea.com> wrote:
> Le 04/10/2010 20:34, J. L. a écrit :
>>
>> 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
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 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.



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04 19:29               ` J. L. 
@ 2010-10-06 22:36                 ` Khem Raj
  2010-10-06 23:17                   ` J. L. 
  0 siblings, 1 reply; 13+ messages in thread
From: Khem Raj @ 2010-10-06 22:36 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Oct 4, 2010 at 12:29 PM, J. L. <vwyodapink@gmail.com> wrote:
> On Mon, Oct 4, 2010 at 12:24 PM, Eric Bénard <eric@eukrea.com> wrote:
>> Le 04/10/2010 20:34, J. L. a écrit :
>>>
>>> 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
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> gumstix overo angstrom 2010.x gcc 4.5

and how old is your OE snapshot.

-k



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-06 22:36                 ` Khem Raj
@ 2010-10-06 23:17                   ` J. L. 
  2010-10-07  1:34                     ` Khem Raj
  0 siblings, 1 reply; 13+ messages in thread
From: J. L.  @ 2010-10-06 23:17 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Oct 6, 2010 at 3:36 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Mon, Oct 4, 2010 at 12:29 PM, J. L. <vwyodapink@gmail.com> wrote:
>> On Mon, Oct 4, 2010 at 12:24 PM, Eric Bénard <eric@eukrea.com> wrote:
>>> Le 04/10/2010 20:34, J. L. a écrit :
>>>>
>>>> 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
>>>
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>>
>>
>> gumstix overo angstrom 2010.x gcc 4.5
>
> and how old is your OE snapshot.
>
> -k
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-06 23:17                   ` J. L. 
@ 2010-10-07  1:34                     ` Khem Raj
  0 siblings, 0 replies; 13+ messages in thread
From: Khem Raj @ 2010-10-07  1:34 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Oct 6, 2010 at 4:17 PM, J. L. <vwyodapink@gmail.com> wrote:
> On Wed, Oct 6, 2010 at 3:36 PM, Khem Raj <raj.khem@gmail.com> wrote:
>> On Mon, Oct 4, 2010 at 12:29 PM, J. L. <vwyodapink@gmail.com> wrote:
>>> On Mon, Oct 4, 2010 at 12:24 PM, Eric Bénard <eric@eukrea.com> wrote:
>>>> Le 04/10/2010 20:34, J. L. a écrit :
>>>>>
>>>>> 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
>>>>
>>>> _______________________________________________
>>>> Openembedded-devel mailing list
>>>> Openembedded-devel@lists.openembedded.org
>>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>>>
>>>
>>> gumstix overo angstrom 2010.x gcc 4.5
>>
>> and how old is your OE snapshot.
>>
>> -k
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> 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

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.

>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: trouble compiling udev
  2010-10-04 18:23         ` Khem Raj
  2010-10-04 18:34           ` J. L. 
@ 2010-10-20  7:04           ` Ash Charles
  1 sibling, 0 replies; 13+ messages in thread
From: Ash Charles @ 2010-10-20  7:04 UTC (permalink / raw)
  To: openembedded-devel

On Mon, Oct 4, 2010 at 11:23 AM, Khem Raj <raj.khem@gmail.com> wrote:
> 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-10-20  7:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-04  6:47 trouble compiling udev Jaap de Jong
2010-10-04  7:14 ` Eric Bénard
2010-10-04  8:14   ` Jaap de Jong
2010-10-04  8:24     ` J. L. 
2010-10-04  8:36       ` Eric Bénard
2010-10-04 18:23         ` Khem Raj
2010-10-04 18:34           ` J. L. 
2010-10-04 19:24             ` Eric Bénard
2010-10-04 19:29               ` J. L. 
2010-10-06 22:36                 ` Khem Raj
2010-10-06 23:17                   ` J. L. 
2010-10-07  1:34                     ` Khem Raj
2010-10-20  7:04           ` Ash Charles

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.