Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 31 Jul 2001 00:55:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 31 Jul 2001 00:55:13 -0400 Received: from mpdr0.chicago.il.ameritech.net ([206.141.239.142]:30973 "EHLO mailhost.chi.ameritech.net") by vger.kernel.org with ESMTP id ; Tue, 31 Jul 2001 00:54:58 -0400 Message-ID: <3B663AC9.3A290C32@ameritech.net> Date: Mon, 30 Jul 2001 23:57:45 -0500 From: paulr X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.7 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: 2.4.7 -- GCC-3.0 -- "multiline string literals deprecated" -- PATCH Content-Type: multipart/mixed; boundary="------------48CC1BA4F66F3CD8B6AC71DA" Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Original-Recipient: rfc822;linux-kernel-outgoing This is a multi-part message in MIME format. --------------48CC1BA4F66F3CD8B6AC71DA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Folks, While building both kernels 2.4.6 and 2.4.7, I encountered a series of compiler warnings, warning: multiline string literals are deprecated. The build environment was gcc3.0 and binutils-2.11.2. In: linux/arch/i386/kernel/semaphore.c, linux/include/asm-i386/checksum.h, and linux/include/asm-i386/floppy.h, the placement of "" characters in the asm() directives appeared to be the source of the messages. The compiler messages seem harmless. Unfortunately, warnings from these asm() constructs flooded the compile log, making it difficult to locate "real" warnings.... I have attached patches against 2.4.7 for the files above. " and \n" constructs were added for each asm() stanza where the messages occurred. Please note that this seems to be compiler-related. The 2.4.7 code worked fine ;-) NOTE: I do *not* have an SMP system to verify the correctness of the CONFIG_SMP asm() conditionals in linux/arch/i386/kernel/semaphore.c Please verify the SMP case..... Please cc: me as needed; I am not subscribed to l-k. Regards, Paul -- ********************************************* Paul Reich RF/Microwave Engineer Support the "Freedom To Innovate"... Just say "No". ********************************************* --------------48CC1BA4F66F3CD8B6AC71DA Content-Type: application/octet-stream; name="checksum.h.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="checksum.h.patch" LS0tIGxpbnV4L2luY2x1ZGUvYXNtLWkzODYvY2hlY2tzdW0uaC5vcmlnCVNhdCBKdWwgMjgg MTM6NDM6MTYgMjAwMQorKysgbGludXgvaW5jbHVkZS9hc20taTM4Ni9jaGVja3N1bS5oCVNh dCBKdWwgMjggMTQ6Mzc6MzEgMjAwMQpAQCAtNjksMjUgKzY5LDI1IEBACiAJCQkJCSAgdW5z aWduZWQgaW50IGlobCkgewogCXVuc2lnbmVkIGludCBzdW07CiAKLQlfX2FzbV9fIF9fdm9s YXRpbGVfXygiCi0JICAgIG1vdmwgKCUxKSwgJTAKLQkgICAgc3VibCAkNCwgJTIKLQkgICAg amJlIDJmCi0JICAgIGFkZGwgNCglMSksICUwCi0JICAgIGFkY2wgOCglMSksICUwCi0JICAg IGFkY2wgMTIoJTEpLCAlMAotMToJICAgIGFkY2wgMTYoJTEpLCAlMAotCSAgICBsZWEgNCgl MSksICUxCi0JICAgIGRlY2wgJTIKLQkgICAgam5lCTFiCi0JICAgIGFkY2wgJDAsICUwCi0J ICAgIG1vdmwgJTAsICUyCi0JICAgIHNocmwgJDE2LCAlMAotCSAgICBhZGR3ICV3MiwgJXcw Ci0JICAgIGFkY2wgJDAsICUwCi0JICAgIG5vdGwgJTAKLTI6Ci0JICAgICIKKwlfX2FzbV9f IF9fdm9sYXRpbGVfXygKKyIJICAgbW92bCAoJTEpLCAlMFxuIgorIgkgICBzdWJsICQ0LCAl MlxuIgorIgkgICBqYmUgMmZcbiIKKyIJICAgYWRkbCA0KCUxKSwgJTBcbiIKKyIJICAgYWRj bCA4KCUxKSwgJTBcbiIKKyIJICAgYWRjbCAxMiglMSksICUwXG4iCisiMToJICAgYWRjbCAx NiglMSksICUwXG4iCisiCSAgIGxlYSA0KCUxKSwgJTFcbiIKKyIJICAgZGVjbCAlMlxuI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MywgJTBcbiIKKyIJYWRjbCAkMCwgJTBcbiIKKwogCTogIj1yIiAoc3VtKQogCTogImciIChk YWRkciksICJnIihzYWRkciksICJnIigobnRvaHMobGVuKTw8MTYpK3Byb3RvKjI1NiksICIw IihzdW0pKTsKICAgICByZXR1cm4gc3VtOwpAQCAtMTU4LDE5ICsxNTgsMTkgQEAKIAkJCQkJ CSAgICAgdW5zaWduZWQgc2hvcnQgcHJvdG8sCiAJCQkJCQkgICAgIHVuc2lnbmVkIGludCBz dW0pIAogewotCV9fYXNtX18oIgotCQlhZGRsIDAoJTEpLCAlMAotCQlhZGNsIDQoJTEpLCAl MAotCQlhZGNsIDgoJTEpLCAlMAotCQlhZGNsIDEyKCUxKSwgJTAKLQkJYWRjbCAwKCUyKSwg JTAKLQkJYWRjbCA0KCUyKSwgJTAKLQkJYWRjbCA4KCUyKSwgJTAKLQkJYWRjbCAxMiglMiks ICUwCi0JCWFkY2wgJTMsICUwCi0JCWFkY2wgJTQsICUwCi0JCWFkY2wgJDAsICUwCi0JCSIK KwlfX2FzbV9fKAorCSIJYWRkbCAwKCUxKSwgJTBcbiIKKwkiCWFkY2wgNCglMSksICUwXG4i CisJIglhZGNsIDgoJTEpLCAlMFxuIgorCSIJYWRjbCAxMiglMSksICUwXG4iCisJIglhZGNs IDAoJTIpLCAlMFxuIgorCSIJYWRjbCA0KCUyKSwgJTBcbiIKKwkiCWFkY2wgOCglMiksICUw XG4iCisJIglhZGNsIDEyKCUyKSwgJTBcbiIKKwkiCWFkY2wgJTMsICUwXG4iCisJIglhZGNs ICU0LCAlMFxuIgorCSIJYWRjbCAkMCwgJTBcbiIKKwogCQk6ICI9JnIiIChzdW0pCiAJCTog InIiIChzYWRkciksICJyIiAoZGFkZHIpLCAKIAkJICAiciIoaHRvbmwobGVuKSksICJyIiho dG9ubChwcm90bykpLCAiMCIoc3VtKSk7Cg== --------------48CC1BA4F66F3CD8B6AC71DA Content-Type: application/octet-stream; name="floppy.h.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="floppy.h.patch" LS0tIGxpbnV4L2luY2x1ZGUvYXNtLWkzODYvZmxvcHB5Lmgub3JpZwlTYXQgSnVsIDI4IDE0 OjIwOjI2IDIwMDEKKysrIGxpbnV4L2luY2x1ZGUvYXNtLWkzODYvZmxvcHB5LmgJU2F0IEp1 bCAyOCAxNDozNDoxOCAyMDAxCkBAIC03NSwyOCArNzUsMjggQEAKIAogI2lmbmRlZiBOT19G TE9QUFlfQVNTRU1CTEVSCiAJX19hc21fXyAoCi0gICAgICAgInRlc3RsICUxLCUxCi0JamUg M2YKLTE6CWluYiAldzQsJWIwCi0JYW5kYiAkMTYwLCViMAotCWNtcGIgJDE2MCwlYjAKLQlq bmUgMmYKLQlpbmN3ICV3NAotCXRlc3RsICUzLCUzCi0Jam5lIDRmCi0JaW5iICV3NCwlYjAK LQltb3ZiICUwLCglMikKLQlqbXAgNWYKLTQ6ICAgICAJbW92YiAoJTIpLCUwCi0Jb3V0YiAl YjAsJXc0Ci01OglkZWN3ICV3NAotCW91dGIgJTAsJDB4ODAKLQlkZWNsICUxCi0JaW5jbCAl MgotCXRlc3RsICUxLCUxCi0Jam5lIDFiCi0zOglpbmIgJXc0LCViMAotMjoJIgorIiAgICAg ICB0ZXN0bCAlMSwlMVxuIgorIglqZSAzZlxuIgorIjE6CWluYiAldzQsJWIwXG4iCisiCWFu ZGIgJDE2MCwlYjBcbiIKKyIJY21wYiAkMTYwLCViMFxuIgorIglqbmUgMmZcbiIKKyIJaW5j dyAldzRcbiIKKyIJdGVzdGwgJTMsJTNcbiIKKyIJam5lIDRmXG4iCisiCWluYiAldzQsJWIw XG4iCisiCW1vdmIgJTAsKCUyKVxuIgorIglqbXAgNWZcbiIKKyI0OiAgICAgbW92YiAoJTIp LCUwXG4iCisiCW91dGIgJWIwLCV3NFxuIgorIjU6CWRlY3cgJXc0XG4iCisiCW91dGIgJTAs JDB4ODBcbiIKKyIJZGVjbCAlMVxuIgorIglpbmNsICUyXG4iCisiCXRlc3RsICUxLCUxXG4i CisiCWpuZSAxYlxuIgorIjM6CWluYiAldzQsJWIwXG4iCisiMjoiCiAgICAgICAgOiAiPWEi ICgoY2hhcikgc3QpLCAKICAgICAgICAiPWMiICgobG9uZykgdmlydHVhbF9kbWFfY291bnQp LCAKICAgICAgICAiPVMiICgobG9uZykgdmlydHVhbF9kbWFfYWRkcikK --------------48CC1BA4F66F3CD8B6AC71DA Content-Type: application/octet-stream; name="semaphore.c.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="semaphore.c.patch" LS0tIGxpbnV4L2FyY2gvaTM4Ni9rZXJuZWwvc2VtYXBob3JlLmMub3JpZwlTYXQgSnVsIDI4 IDEzOjU3OjI5IDIwMDEKKysrIGxpbnV4L2FyY2gvaTM4Ni9rZXJuZWwvc2VtYXBob3JlLmMJ U2F0IEp1bCAyOCAxNDo1MDo1MCAyMDAxCkBAIC0xODEsNTYgKzE4MSw1NiBAQAogIi50ZXh0 XG4iCiAiLmFsaWduIDRcbiIKICIuZ2xvYmwgX19kb3duX2ZhaWxlZFxuIgotIl9fZG93bl9m YWlsZWQ6XG5cdCIKLQkicHVzaGwgJWVheFxuXHQiCi0JInB1c2hsICVlZHhcblx0IgotCSJw dXNobCAlZWN4XG5cdCIKLQkiY2FsbCBfX2Rvd25cblx0IgotCSJwb3BsICVlY3hcblx0Igot CSJwb3BsICVlZHhcblx0IgotCSJwb3BsICVlYXhcblx0IgotCSJyZXQiCisiX19kb3duX2Zh aWxlZDpcbiIKKyIJcHVzaGwgJWVheFxuIgorIglwdXNobCAlZWR4XG4iCisiCXB1c2hsICVl Y3hcbiIKKyIJY2FsbCBfX2Rvd25cbiIKKyIJcG9wbCAgJWVjeFxuIgorIglwb3BsICAlZWR4 XG4iCisiCXBvcGwgICVlYXhcbiIKKyIJcmV0XG4iCiApOwogCiBhc20oCiAiLnRleHRcbiIK ICIuYWxpZ24gNFxuIgogIi5nbG9ibCBfX2Rvd25fZmFpbGVkX2ludGV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UiAiLCglZWF4KVxuIgorIgkJam5lCQkxYlxuIgorCisiCQkiIExPQ0sgInN1 YmwJJCIgUldfTE9DS19CSUFTX1NUUiAiLCglZWF4KVxuIgorIgkJam56CQlfX3dyaXRlX2xv Y2tfZmFpbGVkXG4iCisiCQlyZXRcbiIKKworCisiLmFsaWduCQk0XG4iCisiLmdsb2JsCQlf X3JlYWRfbG9ja19mYWlsZWRcbiIKKyJfX3JlYWRfbG9ja19mYWlsZWQ6XG4iCisiCQlsb2Nr IDsgaW5jbAkoJWVheClcbiIKKyIxOgkJY21wbAkJJDEsKCVlYXgpXG4iCisiCQlqcwkJMWJc biIKKworIgkJbG9jayA7IGRlY2wJKCVlYXgpXG4iCisiCQlqcwkJX19yZWFkX2xvY2tfZmFp bGVkXG4iCisiCQlyZXRcbiIKKwogKTsKICNlbmRpZgo= --------------48CC1BA4F66F3CD8B6AC71DA-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/