Hello, I pasted the results here:
http://pastebin.com/MrUCQaYv

Not sure if anyhow usable, but linker script looks like this
http://pastebin.com/9ix3pNBc

and the relevant part from pic14devices.txt
http://pastebin.com/gJYhbx7H

I can't spot anything suspicious.



2016-03-03 22:37 GMT+01:00 Gál Zsolt <tralitove...@freemail.hu>:
> Could you send the results of the compiler when you add --verbose option?
>
> sdcc --use-non-free -mpic14 -ppic16f1829 tst.c --verbose
>
> 2016-03-03 11:27 GMT+01:00 Jaromir Sukuba <jarin...@gmail.com>:
>>
>> I started new clean virtual machine with 32-bit Linux Mint 17.3, ran
>> all updates and then:
>>
>> 1, Installed gputils from source:
>> # svn co https://gputils.svn.sourceforge.net/svnroot/gputils/trunk/gputils
>> gputils_svn
>> ----listing cut short----
>> - Checked out revision 1195.
>> Then ran configure and make install as expected.
>> # gpasm -v
>> gpasm-1.4.2 #1194 (Mar  2 2016)
>>
>> 2, Installed SDCC from source
>> downloaded last shapshot "sdcc-src-20160302-9509.tar.bz2" and ran
>> # sudo apt-get install libboost-all-dev g++ texinfo
>> then ran configure, make, make install as expected
>> # sdcc -v
>> SDCC :
>> mcs51/z80/z180/r2k/r3ka/gbz80/tlcs90/ds390/pic16/pic14/TININative/ds400/hc08/s08/stm8
>> 3.5.5 #9509 (Linux)
>> published under GNU General Public License (GPL)
>>
>> 3, Created new file tst.c containing
>> void main (void)
>> {
>> while (1);
>> }
>>
>> 4, Ran compilation for 16F877
>> # sdcc --use-non-free -mpic14 -ppic16f877 tst.c
>>  message: Using default linker script
>> "/usr/local/share/gputils/lkr/16f877_g.lkr".
>> and produces valid output
>>
>> 5, Ran compilation for 16F1829
>> # sdcc --use-non-free -mpic14 -ppic16f1829 tst.c
>>  message: Using default linker script
>> "/usr/local/share/gputils/lkr/16f1829_g.lkr".
>>  error: Processor family mismatch in "idata.o".
>> only tst.asm and tst.o are produced, no st or hex file, assuming
>> because of failed link step
>>
>> Seems like other PIC16F1xxx MCUs are affected too, PIC16Fxxx are OK.
>>
>> By the way, I installed SDCC from source, because it is linked against
>> GLIBC 3.4.20, emitting the "version `GLIBCXX_3.4.20' not found
>> (required by ./sdcc)" message when running sdcc binaries, so running
>> it on 32-bit Linux Mint 17.3 out of the box is not possible.
>> On the other hand, on 64-bit Linux Mint 17.2 (running on real
>> hardware) there isn't GLIBC problem, just the "idata.o" problem.
>>
>>
>>
>>
>>
>>
>> 2016-03-01 23:54 GMT+01:00 Gál Zsolt <tralitove...@freemail.hu>:
>> > Hello,
>> >
>> > Here is the test result again:
>> >
>> > sdcc --use-non-free -mpic14 -ppic16f877 tst.c
>> > message: Using default linker script
>> > "/usr/local/share/gputils/lkr/16f877_g.lkr".
>> >
>> > sdcc --use-non-free -mpic14 -ppic16f1829 tst.c
>> > message: Using default linker script
>> > "/usr/local/share/gputils/lkr/16f1829_g.lkr".
>> >
>> > sdcc -v
>> > SDCC : pic14 3.5.5 #9509 (Linux)
>> > published under GNU General Public License (GPL)
>> >
>> > gpasm -v
>> > gpasm-1.4.2 #1186 (Feb 17 2016)
>> >
>> > What is the version number of your gputils?
>> >
>> > Regards,
>> >
>> > Zsolt Gál
>> >
>> >
>> >
>> > 2016-02-29 14:55 GMT+01:00 Jaromir Sukuba <jarin...@gmail.com>:
>> >>
>> >> Hello,
>> >> this is my first post in here.
>> >>
>> >> I'm using SDCC to build project with PIC16F1829. It worked on two
>> >> machines - one Linux box with SDCC snapshot 3.5.1 #9263, second one is
>> >> windows machine with SDCC 3.5.4 #9360. I always used the latest
>> >> snapshot. For Linux 3.5.0 build I have problem running the binary, due
>> >> to the "GLIBC 3.4.20" problem. I'm trying to build the same project on
>> >> third machine, with newest snapshot 3.5.5 #9509, but I'm running into
>> >> problems.
>> >> I isolated the problem to simplest source:
>> >>
>> >> When compiling simple source (tst.c) for PIC16F877
>> >> # sdcc --use-non-free -mpic14 -ppic16f877 tst.c
>> >> message: Using default linker script
>> >> "/usr/local/share/gputils/lkr/16f877_g.lkr".
>> >> #
>> >>
>> >> though the same on PIC16F1829
>> >> # sdcc --use-non-free -mpic14 -ppic16f1829 tst.c
>> >> message: Using default linker script
>> >> "/usr/local/share/gputils/lkr/16f1829_g.lkr".
>> >> error: Processor family mismatch in "idata.o".
>> >> #
>> >>
>> >> where tst.c looks like:
>> >> void main (void)
>> >> {
>> >> while (1);
>> >> }
>> >>
>> >> For PIC16F877, there is normally generated code - for PIC16F1829,
>> >> nothing.
>> >> I tried to google for this error and this one looks similar
>> >> https://sourceforge.net/p/sdcc/mailman/message/34324501/ though the
>> >> changes that Gál Zsolt suggested seem to be in pic14device.txt file as
>> >> expected:
>> >>
>> >> processor 16f1829, 16lf1829
>> >>         program         8K
>> >>         data            1024
>> >>         eeprom          256
>> >>         enhanced        1
>> >>         io              18
>> >>         maxram          0x07f
>> >>         bankmsk         0xf80
>> >>         config          0x8007 0x8008
>> >>         regmap          0xf80 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07
>> >> 0x08 0x09 0x0a 0x0b
>> >>         memmap          0x20 0x6f 0x000
>> >>         memmap          0x70 0x7f 0xf80
>> >>
>> >>
>> >> Any idea what is the problem with my setup? Any additional info I can
>> >> provide?
>> >>
>> >> Thanks,
>> >> Jaromir Sukuba
>> >>
>> >>
>> >>
>> >> ------------------------------------------------------------------------------
>> >> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> >> Monitor end-to-end web transactions and take corrective actions now
>> >> Troubleshoot faster and improve end-user experience. Signup Now!
>> >> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> >> _______________________________________________
>> >> Sdcc-user mailing list
>> >> Sdcc-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>> >
>> >
>> >
>> >
>> > --
>> > ~~~~~~~~~~~~~~~~
>> > http://galzsolt.zzl.org
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> > Monitor end-to-end web transactions and take corrective actions now
>> > Troubleshoot faster and improve end-user experience. Signup Now!
>> > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> > _______________________________________________
>> > Sdcc-user mailing list
>> > Sdcc-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/sdcc-user
>> >
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>> _______________________________________________
>> Sdcc-user mailing list
>> Sdcc-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
>
>
> --
> ~~~~~~~~~~~~~~~~
> http://galzsolt.zzl.org
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to