Linux-kernel mailing list archive 2000-32,: [PATCH 2.4] make dep can fail (too many args)

# [PATCH 2.4] make dep can fail (too many args)

Frank Mehnert (fm3@kurt.inf.tu-dresden.de)
Thu, 10 Aug 2000 10:49:39 +0200

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: HA Quoc-Viet: ""ACPI is not safe for SMP""
- Previous message: Chris Ross: "Re: 2.4.0-test6 devfs"
- Next in thread: Jeff Garzik: "Re: [PATCH 2.4] make dep can fail (too many args)"
- Reply: Jeff Garzik: "Re: [PATCH 2.4] make dep can fail (too many args)"
- Reply: Michael Elizabeth Chastain: "Re: [PATCH 2.4] make dep can fail (too many args)"

--Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
Content-Type: text/plain
Content-Transfer-Encoding: 8bit

Hi Linus,

in some cases "make dep" can fail with

"/bin/sh: scripts/mkdep: Arg list too long"

So it does on AIX (cross compiling for x86).
I would suggest to use

"find <blah> | xargs scripts/mkdep"

when generating $(TOPDIR)/.hdepend instead of

"scripts/mkdep `find <blah>`"

The appended patch is for 2.4.0-test6.

regards,

Frank

    --
    Frank Mehnert
    ## Dept. of Computer Science, Dresden University of Technology, Germany ##
    ## E-Mail: fm3@os.inf.tu-dresden.de    http://os.inf.tu-dresden.de/~fm3 ##

    --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD
    Content-Type: text/plain;
      name="patch-make-dep-2.4.0-test6"
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename="patch-make-dep-2.4.0-test6"

    LS0tIGxpbnV4LTIuNC4wLXRlc3Q2Lm9yaWcvTWFrZWZpbGUJVGh1IEF1ZyAxMCAxMDozNjo1NSAy
    MDAwCisrKyBsaW51eC0yLjQuMC10ZXN0Ni9NYWtlZmlsZQlUaHUgQXVnIDEwIDEwOjQ1OjQ3IDIw
    MDAKQEAgLTQyNiw3ICs0MjYsNyBAQAogCiBkZXAtZmlsZXM6IHNjcmlwdHMvbWtkZXAgYXJjaGRl
    cCBpbmNsdWRlL2xpbnV4L3ZlcnNpb24uaAogCXNjcmlwdHMvbWtkZXAgaW5pdC8qLmMgPiAuZGVw
    ZW5kCi0Jc2NyaXB0cy9ta2RlcCBgZmluZCAkKEZJTkRIUEFUSCkgLW5hbWUgU0NDUyAtcHJ1bmUg
    LW8gLWZvbGxvdyAtbmFtZSBcKi5oICEgLW5hbWUgbW9kdmVyc2lvbnMuaCAtcHJpbnRgID4gLmhk
    ZXBlbmQKKwlmaW5kICQoRklOREhQQVRIKSAtbmFtZSBTQ0NTIC1wcnVuZSAtbyAtZm9sbG93IC1u
    YW1lIFwqLmggISAtbmFtZSBtb2R2ZXJzaW9ucy5oIC1wcmludCB8IHhhcmdzIHNjcmlwdHMvbWtk
    ZXAgPiAuaGRlcGVuZAogCSQoTUFLRSkgJChwYXRzdWJzdCAlLF9zZmRlcF8lLCQoU1VCRElSUykp
    IF9GQVNUREVQX0FMTF9TVUJfRElSUz0iJChTVUJESVJTKSIKIAogaWZkZWYgQ09ORklHX01PRFZF
    UlNJT05TCg==

    --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD--

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: HA Quoc-Viet: ""ACPI is not safe for SMP""
- Previous message: Chris Ross: "Re: 2.4.0-test6 devfs"
- Next in thread: Jeff Garzik: "Re: [PATCH 2.4] make dep can fail (too many args)"
- Reply: Jeff Garzik: "Re: [PATCH 2.4] make dep can fail (too many args)"
- Reply: Michael Elizabeth Chastain: "Re: [PATCH 2.4] make dep can fail (too many args)"